update_web_tracking_key
Rename a web tracking key, replace its allowed origins or app IDs, or revoke it to control where tracking events are accepted.
Instructions
Rename a web tracking key, replace its allowed origins or app IDs, or revoke it. allowedOrigins and allowedAppIds each REPLACE the whole list rather than appending, so include the entries you want to keep. Revoking with isActive: false stops events within about a minute while preserving the key value, so the customer can still find and remove the matching snippet from their site; use delete_web_tracking_key only once the snippet is gone.
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": {
"id": "<id>"
},
"name": "update_web_tracking_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Web tracking key ID from list_web_tracking_keys. | |
| name | No | New label for the key. | |
| isActive | No | Set false to revoke the key, true to re-enable a revoked one. | |
| companyId | No | Company ID. If not provided, uses the currently selected company. | |
| allowedAppIds | No | Replacement list of iOS bundle IDs and Android package names. The key becomes unrestricted when both this and allowedOrigins are empty. Adding app IDs to a key with no origins makes it app-only: a website already using it stops sending events, so add the site's origins too or create a separate key for the app. | |
| allowedOrigins | No | Replacement allowed-origins list. The key becomes unrestricted when both this and allowedAppIds are empty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | The key after the update. | |
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |