Bulk Delete Memberships
DELETE {{baseUrl}}/api/v2/group_memberships/destroy_many?ids=<string>
Immediately removes users from groups and schedules a job to unassign all working tickets that are assigned to the given user and group combinations.
Allowed For
- Admins
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | Id of the group memberships to delete. Comma separated |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"job_status":{"id":"82de0b044094f0c67893ac9fe64f1a99","message":"Completed at 2018-03-08 10:07:04 +0000","progress":2,"results":[{"action":"delete","id":244,"status":"Deleted","success":true},{"action":"delete","id":245,"status":"Deleted","success":true}],"status":"completed","total":2,"url":"https://example.zendesk.com/api/v2/job_statuses/82de0b0467893ac9fe64f1a99.json"}}