Delete Contact
Contacts API
Delete Contact
Delete a contact
DELETE
Delete Contact
Delete Contact
This endpoint allows you to delete a contact from the system.Headers
| Parameter | Type | Description |
|---|---|---|
| X-API-KEY | string | Formation API Key (required) |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| contact_id | string | Contact ID (required) |
Parameter Examples
- Contact ID:
64b8f1a2e4b0c8d9f0123456
Response
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| success | boolean | Indicates if the operation was successful |
| message | string | Additional information about the operation |
| data | object | Response data for successful requests |
| data.id | string | Unique identifier for the deleted contact |
| data.deleted_at | integer | Deletion timestamp |
Error Responses
Invalid Request (400)
Unauthorized (401)
Contact Not Found (404)
Internal Server Error (500)
Notes
- Once a contact is deleted, it cannot be recovered
- Any associated data (invoices, expenses, etc.) may be affected
- The deletion is permanent and cannot be undone
Authorizations
Formation API key for authentication.
Path Parameters
Contact ID