consent.revoke
Method to revoke TrustCommander consent OnSite via JavaScript.
The Commanders Act OnSite API stub has to be installed before using any of the OnSite API functions.
1
cact('consent.revoke')
Copied!
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 modified 3mo ago
Export as PDF
Copy link