Update Trigger
update_triggerUpdate an existing trigger in a Google Tag Manager workspace by replacing it with a complete edited trigger resource. Read the trigger first, then send the entire object back with your changes.
Instructions
Update a trigger in a workspace.
The trigger you send replaces the stored one, so read it with get_trigger first and send the whole thing back with your edits applied. Omitted fields are cleared, not preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trigger | Yes | Complete Trigger resource. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| trigger_id | Yes | Numeric trigger ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the trigger changed in the meantime. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||