Delete Department

Delete a department by its ID. The department's group (if any) is deleted along with it.

🚧

Department must not have sub-departments > > A department can only be deleted if it has no sub-departments. Delete all sub-departments first, otherwise the API returns 400 with "Forbidden deleting departments with sub departments".

Path Params
integer
required
≄ 1

The ID of the department.

Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json