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
.
Marketing consent communication details.
Field options. The lastRevokeActivity
field must be passed.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.