Delete Contact
DELETE/contact/:contact_id
The Delete Contact API allows you to remove a contact from your contactbook. If you no longer need a particular contact's information, this API makes it easy to delete their record.
Request
Path Parameters
contact_id stringrequired
Provide objectId of contact to delete
Responses
- 200
- 400
- 404
- 405
Contact deleted successfully!
- application/json
- Schema
- Example (from schema)
Schema
objectId string
deletedAt date
{
"objectId": "Bxh2aspHp3",
"deletedAt": "2023-10-07T16:49:56.000Z"
}
Something went wrong, please try again later!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Something went wrong, please try again later!"
}
Contact not found!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Contact not found!"
}
Invalid API Token!
- application/json
- Schema
- Example (from schema)
Schema
error string
{
"error": "Invalid API token!"
}
Loading...