Delete Version
delete_versionDelete a specific Google Tag Manager container version, except the live one, to manage version history. Removal can be undone if needed.
Instructions
Delete a container version.
Deletion is reversible with undelete_version. The live version cannot be deleted.
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>",
"version_id": "<version_id>"
},
"name": "delete_version"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| version_id | Yes | Numeric container version ID. | |
| container_id | Yes | Numeric container ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||