Reauthorize Environment
reauthorize_environmentRegenerate an environment's authorization code to invalidate a leaked preview link immediately. Use when a preview link has been exposed, forcing any embedded content to be updated.
Instructions
Regenerate an environment's authorization code.
Use this when a preview link has leaked: the old code stops working immediately, so anything embedding it must be updated.
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": {
"account_id": "<account_id>",
"container_id": "<container_id>",
"environment_id": "<environment_id>"
},
"name": "reauthorize_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| environment | No | Optional Environment body. The API requires a body but uses none of it, so leaving this unset sends an empty object. | |
| container_id | Yes | Numeric container ID. | |
| environment_id | Yes | Numeric environment ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||