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.


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