1ctl config unset
Remove a specific environment variable key from a deployment’s environment configuration.
1ctl config unset| Flag | Type | Required | Default | Description |
|---|---|---|---|---|
--config |
string | No | — | Config name or path |
--deployment-id, -d |
string | No | — | Deployment ID |
--app |
string | No | — | App name to resolve (alternative to –deployment-id) |
--key, -k |
string | Yes | — | Key to remove |
--help, -h |
boolean | No | — | Show help |
Examples
Section titled “Examples”# Remove a key by deployment ID1ctl config unset --deployment-id dep_abc123 --key LOG_LEVEL
# Remove a key by app name1ctl config unset --app my-app --key NODE_ENV