update_variable
Update the name or value of an existing non-secret variable within a Codemagic variable group. Specify the group and variable IDs, then provide the new name and value.
Instructions
Update the name or value of an existing non-secret variable in a Codemagic variable group. The variable_id comes from list_variable_groups. For secret values use the Codemagic UI — secrets should never pass through the agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | The variable group ID | |
| variable_id | Yes | The variable ID to update (from list_variable_groups) | |
| name | Yes | New variable name | |
| value | Yes | New variable value |