Upsert environment variables atomically, with optional pruning.
Usage#
Flags#
Project identifier or slug.
Application identifier or slug.
Environment identifier or slug.
Variables with key, value, kind, and description.
Show JSON schemaHide JSON schema
The JSON object uses the properties and constraints listed above.
Global Flags#
| Flag | Type | Description |
|---|---|---|
--root-key | string | Override root key ($UNKEY_ROOT_KEY) |
--api-url | string | Override API base URL (default: https://api.unkey.com) |
--config | string | Path to config file (default: ~/.unkey/config.toml) |
--output | string | Output format - use json for raw JSON |
--body | string | Send this JSON string as the request body. You cannot combine it with request-building flags. |