curl --request DELETE \
--url https://api.clemta.com/contacts/{contact_id}{
"success": true,
"message": "<string>",
"data": {}
}Deletes a contact
curl --request DELETE \
--url https://api.clemta.com/contacts/{contact_id}{
"success": true,
"message": "<string>",
"data": {}
}X-API-Key: your_api_key_here
| Code | Description |
|---|---|
| 200 | Contact deleted successfully |
| 400 | Invalid request |
| 401 | Unauthorized - Invalid or missing API key |
| 404 | Contact not found |
| 500 | Internal server error |
{
"success": false,
"message": "Contact not found",
"data": null,
"error": {
"code": "NOT_FOUND",
"details": ""
}
}
curl -X DELETE https://api.clemta.com/contacts/64b8f1a2e4b0c8d9f0123456 \
-H "X-API-Key: your_api_key_here"
{
"success": true,
"message": "Contact deleted successfully",
"data": null
}