Delete Workspace
delete_workspaceDelete a Google Tag Manager workspace to discard all unpublished changes. Check workspace status first to avoid losing unversioned work.
Instructions
Delete a workspace, discarding every change in it.
Changes that were never turned into a version are lost. Check get_workspace_status first.
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>",
"workspace_id": "<workspace_id>"
},
"name": "delete_workspace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | Numeric Tag Manager account ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||