consent.revoke

Method to revoke TrustCommander consent OnSite via JavaScript.

cact('consent.revoke')

consent.revoke is called with no options and no callback function. It resets the consent, consent id and initiates two consen.onUpdate events, one with the updateEvent set to changed, and a second one set torevoked that allows to perform cleanup tasks like removing cookie identifiers.

Last updated

Was this helpful?