This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Removes a marketing consent. The consent is cancelled, and the state
is updated to REVOKED
.
The marketing consent entity still exists, but the recipient is no longer eligible to receive commmunication.
To delete a marketing consent entirely, use Delete Marketing Consent.
Required fields:
details.type
.details.email
OR details.phone
.info.lastRevokeActivity
.You can only call this method when authenticated as a Wix app or Wix user identity.
Marketing consent communication details.
Field options. The lastRevokeActivity
field must be passed.