Delete Contact
Permanently delete a contact from the system
Reading time: 1 minute
Delete Contact
Permanently delete a contact from the system.
DELETE
{{base_url}}/contacts/{id}Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Contact ID |
Important Warning:
Deletion is permanent and cannot be undone! The following will occur:
- ā Contact will be permanently deleted
- ā All associated messages will be deleted
- ā All attached files will be deleted
It is recommended to backup before deletion.
Example Request
Example Requestbash
curl -X DELETE "{{base_url}}/contacts/1" \
-H "Accept: application/json" \
-H "X-Awal-Signature-256: sha256=abc..." \
-H "X-Timestamp: 1704124800" \
-H "X-Domain: your-workspace" \
-H "X-Client-ID: your-client-id"Example Response
Response200 OK
{
"status": true,
"message": "Contact deleted successfully"
}Related
ā Back to Contacts
View Guide