Bulk delete departments

Queues one deletion per department id and returns before any department is deleted. Each row succeeds or fails on its own; read the outcome from GET /v3/bulk_requests/{bulk_action_uuid}. Bulk delete does not support a replacement department; it only deletes, removing each department from its jobs and users. To move jobs and users onto another department instead, use DELETE /v3/departments/{id} with replacement_department_id. Child departments move up to the deleted department's parent. The user must be a Site Admin.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
length ≤ 2048

Optional HTTPS URL Greenhouse will POST to when every row in data has finished. Omit to poll GET /v3/bulk_requests/{bulk_action_uuid} instead.

data
array of integers
required

Array of integer ids identifying the records to delete. Each id is dispatched to the matching non-bulk DELETE endpoint in its own Sidekiq job.

data*
Responses

401

Unauthorized

413

Payload is larger than 10MB

422

Validation Error

429

Client has more than 5 active jobs

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json