capabilities.work

Marketing Cloud Look Up and Remove a Contact

A 3-step recipe with Salesforce. We can help you get access.

Recipe · 3 steps

Marketing Cloud Look Up and Remove a Contact

with Salesforce · Customer Data Management

Read a specific contact by its contact key, then delete the contact.

  1. Obtain an OAuth 2.0 access token using the client credentials grant for server-to-server access to the Marketing Cloud REST API.
  2. Read the contact identified by the supplied contact key, returning its status and attribute sets before removal.
  3. Delete the contact by contact key, removing the subscriber and its data from the Marketing Cloud account.
What you'll need to have ready
  • clientId: The client ID of the Marketing Cloud installed package API integration.
  • clientSecret: The client secret of the Marketing Cloud installed package API integration.
  • contactKey: The unique contact key (subscriber key) of the contact to retrieve and delete.
For your developer

Arazzo workflow salesforce:manage-contacts, 3 operations: getAccessToken → getContact → deleteContacts. Specs on APIs.io.