Delete department with given id

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
Click Try It! to start a request and see the response here!