Preview a compliance-determinative (tier 3) configuration change before committing it
account.previewComplianceChangeShows the exact before/after for a compliance change to one of your apps, with a plain-language consequence for every field, explicit warnings where a list-valued field would delete existing entries, and a warning when the change re-issues consent — only a change to how consent categories map to Google/Meta/Microsoft consent signals does, and returning visitors are then asked again only if Consent on Update (resetConsent) is on. Returns a short-lived, tier-bound preview token the commit tool requires. Refuses cosmetic fields — those go through account.previewDesignChange.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"AppID": "<AppID>"
},
"name": "account.previewComplianceChange"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Only the compliance-determinative text keys (privacyPolicyUrl, dontSellUrl). Wording changes go through account.previewDesignChange. | |
| AppID | Yes | The app to change. Must be covered by your API token's app scope. | |
| config | No | Partial config.* overrides — TIER 3 (compliance-determinative) KEYS ONLY. Top-level "blocking" (the site-wide setting for scripts before a visitor chooses) exists in Designer API but these tools do not write it, and on a direct-snippet install blocking comes from the huOptions snippet instead. Both engines read it from the page: install code sets its own (install.getSnippet sets it on), and the WordPress plugin copies the stored value. On the New engine it decides only while region rules (geolocation) are off (unset holds recognised scripts until the visitor chooses), and the dashboard's Laws page then shows the stored value as "Setting for every visitor"; with region rules on, the banner's law table decides each place instead. On the Classic engine it decides wherever no region rule applies. Per-region blocking on the Classic engine is geolocationRules[].blocking and the geolocation{EU,US,OR}blocking booleans (the New engine reads neither); uiBlocking is a different feature (a cookie wall). |