Deletes contact
DELETE/contact/:contact_id
delete a contact
Request
Path Parameters
contact_id stringrequired
Provide objectId of contact to delete
Header Parameters
x-api-token stringrequired
Example: opensign.xxxx
Responses
- 200
- 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"
}
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...