cURL
curl --request DELETE \ --url https://api.atendai.com/api/departments/{departmentId} \ --header 'Authorization: Bearer <token>'
{ "message": "<success message>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The ID of the department to delete
Successful response
"<success message>"