gtm_transformation
Perform create, get, update, remove, list, and revert operations on GTM transformations across accounts, containers, and workspaces.
Instructions
Performs all GTM transformation operations: create, get, list, update, remove, revert. The 'list' action returns up to itemsPerPage items per page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination (starts from 1). Each page contains up to itemsPerPage items. | |
| action | Yes | The GTM transformation operation to perform. Must be one of: 'create', 'get', 'list', 'update', 'remove', 'revert'. | |
| accountId | Yes | The unique ID of the GTM Account containing the transformation. | |
| containerId | Yes | The unique ID of the GTM Container containing the transformation. | |
| fingerprint | No | The fingerprint for optimistic concurrency control. Required for 'update' and 'revert' actions. | |
| workspaceId | Yes | The unique ID of the GTM Workspace containing the transformation. | |
| itemsPerPage | No | Number of items to return per page (1-50). Default: 50. Use lower values if experiencing response issues. | |
| transformationId | No | The unique ID of the GTM transformation. Required for 'get', 'update', 'remove', and 'revert' actions. | |
| createOrUpdateConfig | No | Configuration for 'create' and 'update' actions. All fields correspond to the GTM transformation resource, except IDs. |