Update Application Environment Variable
coolify_update_app_envUpdate an existing environment variable's value on a Coolify application. Specify the variable key and new value, along with optional flags for build-time, runtime, or preview.
Instructions
Update an existing environment variable on an application. Coolify matches the var by key name — key and value are both required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name to update | |
| uuid | Yes | Application UUID | |
| value | Yes | New variable value | |
| reveal | No | Reveal redacted secret values in the response (default false; the call is audited) | |
| instance | Yes | REQUIRED — which Coolify instance to mutate: 'prod' (Hetzner VPS) or 'dev' (local OrbStack VM). No default: state the target explicitly so a write never lands on prod by accident. | |
| is_preview | No | Preview-only flag | |
| is_runtime | No | Runtime availability | |
| is_buildtime | No | Build-time availability |