Delete a department

This API allows you to delete an existing department.

Using the below method an existing department can be deleted

curl --request DELETE \
  --url https://api.servetel.in/v1/department/id \
  --header 'accept: application/json' \
  --header 'authorization: Bearer yourtokenhere'

Path parameters

Variable nameDescriptionData Type
id*Unique ID of the departmentString

Response variables

Variable NameDescriptionData Type
successRequest success statusBoolean
messageMessage corresponding success statusString
Language
Click Try It! to start a request and see the response here!