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

ArgumentRequiredDescription
server-idNoRemove only this server. Omit to remove all

Options

FlagDefaultDescription
--quietfalseSkip confirmation prompt

Examples

Remove a Specific Server

jf config rm <server-id> --quiet

Remove All Servers

jf config rm --quiet

Important 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 --quiet to 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> --quiet as a teardown step to avoid leaking credentials in ephemeral environments.

What’s Next

To configure a new server, see jf config add.