Skip to main content
DELETE
/
api
/
departments
/
{id}
Delete a department
curl --request DELETE \
  --url https://your-instance.example.com/api/departments/{id} \
  --header 'Authorization: Bearer <token>'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

Department deleted

message
string