jf config remove
Remove stored server configurations. Omit the server ID to remove all, or specify one to remove it only.
Synopsis
jf config rm [server-id] [options]
Aliases: jf c rm
Arguments
| Argument | Required | Description |
|---|---|---|
server-id | No | Remove only this server. Omit to remove all |
Options
| Flag | Default | Description |
|---|---|---|
--quiet | false | Skip confirmation prompt |
Examples
Remove a Specific Server
jf config rm <server-id> --quietRemove All Servers
jf config rm --quietImportant Notes
- Destructive action: Removing a server configuration deletes its stored credentials permanently. You cannot undo this.
- Remove all: Omitting the server ID removes all stored configurations. Use
--quietto skip the confirmation prompt (common in CI/CD teardown scripts). - Active server: If you remove the active server, there is no active server until you run
jf config use <other-id>or add a new one. - CI/CD cleanup: In pipelines, add
jf config rm <server-id> --quietas a teardown step to avoid leaking credentials in ephemeral environments.
Updated about 1 month ago
