Update account
Update an account’s settings — the same fields the dashboard’s account settings screens expose.
An account token carries the account’s own authority. A user token must
belong to an admin of the account, mirroring the web UI, and a
non-admin member gets a 403.
account_type cannot be changed here, as on the web form: mobile app
accounts are only created through the admin panel.
Authorizations
API token obtained from the login endpoint or the dashboard
Path Parameters
ID of the resource
Body
Account settings to update
Response
Updated account
Unique identifier for the account
Domain of the account
website, mobile_app ISO 639-1 code the banner falls back to
ISO 639-1 codes the banner is translated into
Years consent records are retained
List of allowed domains the script will run on
ID of the account user that owns the account
The status of the account, where:
account_created: The account has been created.vendors_setup: Categories, services or TCF vendors have been set up.script_installed: The script has been installed on the user's website.live: The account is live and operational.
null means the status could not be determined — the analytics store
behind it was unreachable when the response was built. It is not a
statement about the account, and the request itself still succeeded.
Treat it as "unknown" and retry rather than as a downgrade in status.
Visitor analytics for the last 30 days, compared against the 30 days
before that. null when the client passed ?visitor_stats=false.
Date and time when the account was created
Date and time when the account was last updated