Delete Contact - By ID

POST https://{{et_subdomain}}.rest.marketingcloudapis.com/contacts/v1/contacts/actions/delete?type=keys

https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/DeleteByContactIDs.htm

Deletes contacts based on specified contact ID values. This operations runs asynchronously. Use the OperationID value returned to check the status of the delete.

Request Params

KeyDatatypeRequiredDescription
typestring

Request Body

{"values"=>[193655592, 1234567923123123], "DeleteOperationType"=>"ContactAndAttributes"}

RESPONSES

status: OK

{"operationInitiated":true,"operationID":2037,"requestServiceMessageID":"880c77d0-3088-46f3-bbb8-904c54fed2d3","responseDateTime":"2019-07-26T08:30:06.6174864-06:00","hasErrors":false,"resultMessages":[],"serviceMessageID":"2a018601-7da2-4599-ba1d-33bd1df9aa39"}