Delete Contact - By Key
POST https://{{et_subdomain}}.rest.marketingcloudapis.com/contacts/v1/contacts/actions/delete?type=keys
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
Key | Datatype | Required | Description |
---|---|---|---|
type | string |
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"}