Update Variable
update_variableUpdate a variable in a workspace by replacing the stored one with the complete variable resource you provide. Omitted fields are cleared, so read the variable first and send it back with edits.
Instructions
Update a variable in a workspace.
The variable you send replaces the stored one, so read it with get_variable first and send the whole thing back with your edits applied. Omitted fields are cleared, not preserved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variable | Yes | Complete Variable resource. | |
| account_id | Yes | Numeric Tag Manager account ID. | |
| fingerprint | No | Fingerprint from a previous read. When given, the update fails if the variable changed in the meantime. | |
| variable_id | Yes | Numeric variable ID. | |
| container_id | Yes | Numeric container ID. | |
| workspace_id | Yes | Numeric workspace ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||