Delete a 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 nameDescriptionData Type
idDepartment's unique ID. For example, 6900.String

Response Variables

After the execution of the API, you will get the following response:


Variable NameDescriptionData Type
SuccessThe request success status, the possible values are: True (default) for success. False for failure.Boolean
MessageThe 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
Language
Click Try It! to start a request and see the response here!