Delete a contact
Changed onDeprecated. Use PATCH /v3/contacts/{id} with {"opt_out": true} instead, and expect this to be removed in a future release. It still behaves exactly as before, so nothing needs to change today.
Opting a contact out stops every send to them, which is what deleting one was mostly used for — and it keeps the record of who they were and that they asked. A delete discards the consent history along with the contact, which is the part you need if anyone ever asks why you stopped, or why you started again.
Dissociates a contact from the authenticated customer.
Request
- Base URLhttps://api.sent.dm
- URLhttps://api.sent.dm/v3/contacts/{id}
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Contact ID from route parameter
Headers
Profile UUID to scope the request to a child profile. Only organization API keys can use this header. The profile must belong to the calling organization.
Request body
Response
Contact deleted successfully
Changes
- breaking
added to the request body
allOflist - breaking
added to the
response propertyoneOflist for the response status - breaking
added to the
response propertyoneOflist for the response status - breaking
added to the
response propertyoneOflist for the response status - warning
removed from the request body
allOflist - info
the endpoint scheme security
BearerAuthwas added to the API - info
endpoint deprecated
- info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status - info
removed from the
response propertyallOflist for the response status - info
removed from the
response propertyoneOflist for the response status - info
removed from the
response propertyoneOflist for the response status - info
removed from the
response propertyoneOflist for the response status
- breaking