API Reference
Log In
API Reference

/departments/{id}

Permanently deletes a department by ID. This action is irreversible.


Behavior

  • Sub-departments are not deleted, but lose their parent reference and become top-level departments
  • Departments with assigned users cannot be deleted - reassign users first
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

ID of the department to delete

Responses
204

The department has been successfully deleted.

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