Question
I have a large number of closed tickets that I want to delete. How can I bulk delete closed tickets?
Answer
- Use the bulk delete tickets API endpoint to delete closed tickets manually. This process is explained in more detail in the article: Bulk delete tickets via the API.
- Create a deletion schedule to delete archived tickets after a specified period of time.
Tip: If you have the Advanced Data Privacy and Protection add-on, you can define ticket deletion schedules to automatically delete specific types of tickets in your account. For more information, see the article: Creating multiple ticket deletion schedules (ADPP add-on).
For more information on this endpoint, see our developer documentation on the Bulk Delete Tickets API endpoint. For information on how to use the Zendesk API, see the article: Making requests to the Zendesk API.