Delete a department

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