delete
https://api.servetel.in/v1/department/
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 name | Description | Data Type |
|---|---|---|
| id* | Unique ID of the department | String |
Response variables
| Variable Name | Description | Data Type |
|---|---|---|
| success | Request success status | Boolean |
| message | Message corresponding success status | String |
