gtm_delete_variable
Delete a user-defined Google Tag Manager variable from a chosen workspace draft, removing it from the container without publishing changes.
Instructions
Delete a user-defined variable from an explicitly selected workspace draft.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Name or ID of the GTM account (e.g. 'My Company' or '1234567'). | |
| container | Yes | Name, GTM container ID (publicId, e.g. GTM-XXXX), or internal container ID. | |
| workspace | Yes | Workspace name or ID. Required for every mutating operation. | |
| variableId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |