Delete Container
delete_containerDelete a Google Tag Manager container permanently, along with all its workspaces, tags, and versions. Irreversible action; any site using the container's snippet stops receiving tags.
Instructions
Delete a container, and with it every workspace, tag and version.
This cannot be undone through the API, and any site still loading the container's snippet stops receiving tags.
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>"
},
"name": "delete_container"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||