Unsubscribe a customer from campaigns and triggers
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Path Parameters
The ID of the customer
Body
The type of unsubscribe. campaign
in this case indicates unsubscribing from a single campaign
campaign
The ID of the campaign to unsubscribe from
The type of unsubscribe. campaign
in this case indicates unsubscribing from a single campaign
campaign
The ID of the campaign to unsubscribe from
The type of unsubscribe. trigger
in this case indicates unsubscribing from a single trigger
trigger
The ID of the trigger to unsubscribe from
The type of unsubscribe. all
in this case indicates unsubscribing from all campaigns
all
The type of unsubscribe. future
in this case indicates unsubscribing from all current and future campaigns
future
Response
The ID of the customer
The email address of the customer
The phone number of the customer
The metadata associated with this customer