Skip to main content

Methods

Remove

Removes a contact.

RemoveWithContext

Removes a contact with context support.

Parameters

RemoveContactOptions

string
Optional - Omit for global contacts. Include to remove an audience-specific contact.
string
required
The contact ID or email address to remove

Response

RemoveContactResponse

string
The ID of the deleted contact
string
Object type (“contact”)
bool
Whether the contact was successfully deleted

Examples

Remove Global Contact by ID

Remove Global Contact by Email

Remove Audience Contact

With Context

Notes

  • The Id field accepts either a contact ID or email address
  • Omit AudienceId to remove global contacts
  • Include AudienceId to remove audience-specific contacts
  • This action cannot be undone