Skip to main content
Upsert environment variables atomically, with optional pruning.

Usage

Flags

string
required
Project identifier or slug.
string
required
Application identifier or slug.
string
required
Environment identifier or slug.
JSON string
required
Variables with key, value, kind, and description.
bool
default:"false"
Remove existing variables that aren’t included in --variables.

Global Flags

Examples

See the Set environment variables API reference.
Last modified on July 23, 2026