GTM: Revert change
gtm_revert_entityRevert a Google Tag Manager workspace entity to its live version, removing workspace-created entities. Use it to discard unpublished changes and restore live configuration.
Instructions
Resets an entity in the workspace to the state of the live version. An entity newly created in the workspace is removed in the process.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entityId | Yes | ||
| accountId | Yes | GTM accountId (from gtm_list_accounts) | |
| entityType | Yes | Entity type: tags, triggers, variables, folders, templates, clients, transformations, zones | |
| containerId | Yes | GTM containerId, numeric | |
| fingerprint | No | Optional: aborts if the entity has been changed in the meantime | |
| workspaceId | Yes | Workspace ID (from gtm_list_workspaces / gtm_create_workspace) |