Config
geni config unset
Remove a key from the persistent CLI config.
geni config unset <key>Removes a key from the config file. The resolver falls back through the precedence chain afterwards (env var → compiled-in default), so unsetting apiUrl doesn't leave the CLI broken; it just goes back to whatever the next layer says.
When unsetting the last remaining key, the file is deleted entirely instead of leaving an empty config behind. Same observable behavior, less file-system noise.
Synopsis
geni config unset apiUrl
geni config unset dashboardUrl| Arg | Notes |
|---|---|
<key> | One of apiUrl, dashboardUrl. See config overview for what each controls. |
Output
✓ Unset apiUrl.If the key wasn't set, no-op:
✓ apiUrl was already unset.Exit codes
| Code | Meaning |
|---|---|
0 | Removed (or already unset) |
2 | Unknown key |
125 | Couldn't write or delete the file |