delete https://api.servetel.in/v1/user/
This API allows you to delete an existing user.
Use this API to delete an existing user. Remove a user if any of the following is true:
- If it is no longer needed or is no longer a member of the team
- If any duplicate has been created
- If created mistakenly
Sample Request
curl --request DELETE \
--url https://api.servetel.in/v1/user/id \
--header 'accept: application/json'
š Important!
Before we begin, note that the * sign denotes the mandatory variables in each table.
Request Variables (Path Params)
The following parameter is required to delete a user:
Variable Name | Description | Data Type |
---|---|---|
id | ID of the user. | String |
Response Variables
The response returned is as following:
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 |
Error | The error type is shown is here, if any variable input is not selected properly. | Object |