Unsubscribes a contact from the given subscription type. This API is not valid to use for unsubscribing a contact at a brand or portal level and will return an error.
Supported products
Required Scopes
The access token received from the authorization server in the OAuth 2.0 flow.
Contact's email address.
ID of the subscription being updated for the contact.
Legal basis for updating the contact's status (required for GDPR enabled portals).
CONSENT_WITH_NOTICE, LEGITIMATE_INTEREST_CLIENT, LEGITIMATE_INTEREST_OTHER, LEGITIMATE_INTEREST_PQL, NON_GDPR, PERFORMANCE_OF_CONTRACT, PROCESS_AND_STORE A more detailed explanation to go with the legal basis (required for GDPR enabled portals).
successful operation
A description of the subscription.
The ID for the subscription.
The name of the subscription.
Where the status is determined from e.g. PORTAL_WIDE_STATUS if the contact opted out from the portal.
BRAND_WIDE_STATUS, PORTAL_WIDE_STATUS, SUBSCRIPTION_STATUS Whether the contact is subscribed.
NOT_SUBSCRIBED, SUBSCRIBED The ID of the brand that the subscription is associated with, if there is one.
The legal reason for the current status of the subscription.
CONSENT_WITH_NOTICE, LEGITIMATE_INTEREST_CLIENT, LEGITIMATE_INTEREST_OTHER, LEGITIMATE_INTEREST_PQL, NON_GDPR, PERFORMANCE_OF_CONTRACT, PROCESS_AND_STORE A more detailed explanation to go with the legal basis.
The name of the preferences group that the subscription is associated with.