Legacy
English
cURL
curl --request POST \ --url https://js.hs-scripts.com/revokeCookieConsent \ --header 'Content-Type: application/javascript' \ --data '"_hsq.push(['\''revokeCookieConsent'\'']);"'
Remove the consent banner cookies for a visitor, such as for GDPR deletion requests.
var _hsq = window._hsq = window._hsq || []; _hsq.push(['revokeCookieConsent']);
Revoke consent request
The body is of type object.
object
Cookie consent revoked successfully
Was this page helpful?