Apply a previously previewed COMPLIANCE (tier 3) configuration change
account.updateComplianceConfigApplies a compliance-determinative change (blocking, consent categories/levels, geolocation and regional rules, consent-mode, GPC, expiry, policy links) to one of your apps and publishes it. Requires the previewToken from account.previewComplianceChange — a cosmetic token will not work. Show the preview to the site owner and get their agreement before calling this; these settings decide whether consent is lawfully captured. Only a change to how consent categories map to Google/Meta/Microsoft consent signals re-issues consent; returning visitors are then asked again only if Consent on Update (resetConsent) is on.
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>",
"previewToken": "<previewToken>"
},
"name": "account.updateComplianceConfig"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | The same compliance-relevant text.* values you previewed. | |
| AppID | Yes | The app to change. Must be permitted by your API token's app scope. | |
| config | No | The same compliance-determinative config.* values you previewed. | |
| publish | No | Publish immediately (default true). False saves it to the draft without changing the live banner. Re-running the same call with true later (after the site owner approves) publishes the WHOLE draft, including any edits saved in the Cookie Compliance dashboard since the last publish. | |
| previewToken | Yes | The token returned by account.previewComplianceChange for this exact change. Required — a cosmetic (tier 1/2) token is rejected, so the consequence review cannot be bypassed. |