Delete Contact - By Key

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/DeleteByContactKeys.htm

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

Request Params

KeyDatatypeRequiredDescription
typestring

Request Body

{"values"=>["postmandemo2"], "DeleteOperationType"=>"ContactAndAttributes"}

RESPONSES

status: OK

{"operationInitiated":true,"operationID":2038,"requestServiceMessageID":"b823e1ff-be75-4583-94e2-5fb7cbc2becd","responseDateTime":"2019-07-26T08:31:44.4424222-06:00","hasErrors":false,"resultMessages":[],"serviceMessageID":"ae207d76-44eb-4a0d-94e9-4142b448121d"}