Delete a contact
This endpoint delete an existing contact and all the requests linked to it. It returns an object with the contactId.
This action can't be cancelled. Use it at your own risk.
Path parameters
-
Specify the ID of the contact to delete.
Responses
-
200 application/json
Success
-
Bad Request -- Your request is invalid.
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
DELETE /contacts/{contactId}
curl \
-X DELETE https://api.usecollect.com/v1/contacts/{contactId}
Response examples (200)
{
"id": "gqKBB8ZD4aHiY4Cb2",
"deleted": true
}