Tim H Posted May 30, 2018 Share Posted May 30, 2018 We have about 50 thousand closed tickets that I am unable to delete using the normal process. I'm talking about the one where you list all the closed tickets, then check the box at the top and press "delete" button. When I do that, it asks if I'm sure I want to delete them, and then it doesn't delete them. I've tried multiple times, closed it down, re-logged in, and tried again - also tried just deleting 5 - 10 tickets at a time but it won't do that either. The suggestion from WHMCS Support was this: "You could do it programmatically using the DeleteTicket API: https://developers.whmcs.com/api-reference/deleteticket/. I'd recommend writing up an SQL query and executing it through PHP using Capsule and query builder to select the ticket records you wish to delete, then loop through those and call the DeleteTicket API on each one to get it deleted. Does anyone in the community have a better idea for how to get rid of them? Thanks for any help you can provide. Tim 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.