Skip to main content

Delete contacts

DELETE 

/api/partner-gateway/contacts

Deletes contacts of your account, permanently. One of ids and notIds is required.

  • Delete specific contacts: send ids, a comma-separated list of contact IDs. When ids is present, notIds is ignored.
  • Delete all except some: send notIds, the IDs of the contacts to keep. Every other non-test contact of your account is deleted.
  • At most 200 IDs in the list used: to delete more contacts, split them over several calls.
  • Skipped without an error: test contacts (isTest true) are never deleted, in either mode, and IDs that do not exist in your account are ignored.
  • What goes with a contact: its contact list memberships, so it is no longer a recipient of future campaigns. The delivery history of past campaigns is kept.
  • The response is always true: it does not tell how many contacts were deleted, and it is true even when none was.

notIds can empty your address book in one call. It deletes every contact you do not list, so check the list before you send it.

Request​

Responses​

true. The number of contacts deleted is not returned.