env_var_update
Change an Environment variable's value or build flag.
Change an Environment variable’s value or build flag. It applies on the next deploy.
| Access | Consequential change; requires confirmation |
| Same as | blossom env_var:update |
Arguments
| Argument | Type | Description |
|---|---|---|
yes |
boolean | true once the person confirms. |
id |
string | Environment variable id. Required. |
data |
object | Only the variable fields to change. Required. |
data.key |
string | Variable name, such as RAILS_ENV. |
data.value |
string | Value. |
data.build |
boolean | Also available while building. |
Example
{"id":"env_var-100","data":{"build":true},"yes":true}