Skip to content

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
Terminal window
# Remove a key by deployment ID
1ctl config unset --deployment-id dep_abc123 --key LOG_LEVEL
# Remove a key by app name
1ctl config unset --app my-app --key NODE_ENV