Methods
Remove
RemoveWithContext
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
Idfield accepts either a contact ID or email address - Omit
AudienceIdto remove global contacts - Include
AudienceIdto remove audience-specific contacts - This action cannot be undone