update_trigger
Update an existing trigger in Google Tag Manager by merging changes into its current configuration. Concurrent edits are prevented with a fingerprint check.
Instructions
Updates a trigger by merging changes into its current config.
The merge is shallow: each top-level key in changes replaces the current value, a null value removes the key, and lists are replaced whole (e.g. a filter list must be passed complete). The current config is re-read in the same call and its fingerprint sent along, so concurrent edits fail cleanly instead of being clobbered. Changes stay in the workspace draft until a version is published. Returns the updated trigger.
Args: account_id: Numeric account ID or full resource path. container_id: Numeric container ID or full resource path. workspace_id: Numeric workspace ID; find it via list_workspaces. trigger_id: Numeric trigger ID; find it via list_triggers. changes: Partial trigger body, e.g. {'name': 'New name'}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| changes | Yes | ||
| account_id | Yes | ||
| trigger_id | Yes | ||
| container_id | Yes | ||
| workspace_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||