Question
How do I bulk delete organizations and users in Zendesk Support?
Answer
Organizations
There's currently no method to bulk delete organizations directly from the standard agent interface. You must delete them individually. However, you can perform bulk deletions with the Zendesk API or third-party tools.
-
Zendesk API: Use the standard Bulk Delete Organizations endpoint. This allows you to delete up to 100 organizations per request with their IDs or external IDs
Endpoint: DELETE /api/v2/organizations/destroy_many?ids=1,2,3Note: This is an asynchronous process. The API returns a job_status ID, which you can use to monitor the progress of the deletion.
- Third-party applications: Consider apps such as GDPR Compliance from the Zendesk Marketplace. These apps provide a simple interface to bulk delete organizations
Users
To bulk delete users from the agent interface:
- Go to the Customers page
- Select the checkbox for each user you want to delete
- At the bottom of the list, click Delete
- Click Delete customers in the dialog to confirm the deletion
You can also bulk delete users with the API bulk user delete endpoint with a custom script. Alternatively, use the end-user deletion schedule to delete end users who aren't active for a specific period.
Note: Bulk deleting users doesn't affect closed tickets. However, you can't delete users if they're the requesters of tickets with a status less than closed. For more information, see Deleting end users.