Delete a Contact

Use delete to remove a contact from Engage.

 
Endpoint and Methods
  • DELETE /_rest/v2/contacts/:id
 
Sample Request

DELETE /_rest/v2/contacts/5f7f2567360f8829c8b1cd40

Note: The deleted contact will be removed from all lists it was associated with.

Response code 202 returns a boolean value of true indicating that the contact is in the process of deleting or has been deleted.

true

Response code 401 returns an error that the authorization token is invalid.

{
"message": "string",
"status": 401
}

Response code 404 returns a message that the contact Id was incorrect.

Response code 500 returns an error when trying to delete the contact.

{
  "message": "Something went wrong when trying to delete the contact",
  "status": 500
}