Skip to content

Delete a contact

DELETE/v1/contacts/{identifier}

Permanently deletes a contact identified by ULID, email address, or E.164 phone number. A successful response includes a confirmation message and echoes the requested identifier. Subsequent requests for the same contact return 404.

Path Parameters

identifierstring required

Contact ULID, email address, or E.164 phone number. Email addresses in paths should be URL-encoded (%40 for @).

Example:ulid: 01kptye62pxs8pp0xkh6d5vxz2email: [email protected]encodedEmail: encoded%40example.comphone: +201288899999

Responses

Body

success_codeenum: 200 | 201Numeric success code matching the HTTP response status. required
Example:200
messagestring required
Example:Contact deleted successfully
detailsobject required
dataobject (GeneralContactDeletedData) required
identifierstringRaw path parameter value echoed back to the client required
Example:01kptye62pxs8pp0xkh6d5vxz2
metaobject
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required
error_codeintegerNumeric error code matching the HTTP response status. required
Example:400
messagestring required
detailsobjectValidation errors are returned as a field-to-messages map; other errors may use arbitrary keys. required