delete https://api-smartflo.tatateleservices.com/v1/department/
This API allows you to delete an existing department.
Sample Request
Any existing department can be deleted using the method outlined below:
curl --request DELETE \
--url https://api-smartflo.tatateleservices.com/v1/department/id \
--header 'accept: application/json'
📘Important
Before we begin, note that the * sign denotes the mandatory variables in each table.
Note: It is not possible to restore a deleted department.
Request Variables (Path Params)
The following parameter is required to delete a department:
Variable name | Description | Data Type |
---|---|---|
id | Department's unique ID. For example, 6900. | String |
Response Variables
After the execution of the API, you will get the following response:
Variable Name | Description | Data Type |
---|---|---|
Success | The request success status, the possible values are: True (default) for success. False for failure. | Boolean |
Message | The message corresponding to the success status. For example, in 400 Response where the "success" variable pops as True, the message displayed is shown here. | String |