latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-18269154992.5 KB

8fbabe82a04d

Web Tracking Keys

Update a web tracking key

Renames a key, replaces its allowed origins, or revokes it. allowedOrigins replaces the whole list rather than appending. Revoking stops events within about a minute while preserving the key value, so the matching snippet can still be found and removed from the site. Requires the integrations:manage scope.

patch/web-tracking-keys/{id}

Path parameters

idstring required

Web tracking key ID.

Request body

namestring
allowedOriginsstring[]

Replacement allowlist. Pass an empty array to make the key unrestricted.

isActiveboolean

Set false to revoke the key, true to re-enable a revoked one.

Response

Key updated

successboolean