Objects
Delete a contact
Soft delete a contact by contact ID.
Overview
Use this endpoint to soft delete a contact in the token-bound tenant and project. The public contacts layer does not define a separate conflict path for delete operations. It requires public api oauth access token authentication and the crm.contacts.delete scope.
DELETE
/api/crm/objects/contacts/{contactId}cURL
DELETEbash
curl --request DELETE \ --url 'https://crm.notifyy.io/api/crm/objects/contacts/55' \ --header 'Authorization: Bearer nfy_public_api_access_token'Sample Request Body
This endpoint does not require a request body.
Sample Response
json
{ "success": true, "message": "Contact deleted successfully", "data": null}Status Codes
| Code | Description |
|---|---|
| 200 | Contact was deleted. |
Headers
AuthorizationstringRequired
Public API OAuth bearer token.
Example: Bearer nfy_public_api_access_token
| Object | Description |
|---|---|
Authorization string | RequiredPublic API OAuth bearer token. Example: Bearer nfy_public_api_access_token |
Path parameters
contactIdintegerRequired
Contact ID.
Example: 55
| Object | Description |
|---|---|
contactId integer | RequiredContact ID. Example: 55 |
Response fields
successboolean
Whether the request succeeded.
Example: true
messagestring
Human-readable result message.
Example: Contact deleted successfully
datanull
No response payload is returned for a successful delete.
| Object | Description |
|---|---|
success boolean | Whether the request succeeded. Example: true |
message string | Human-readable result message. Example: Contact deleted successfully |
data null | No response payload is returned for a successful delete. |