PgBeam Docs
auth

auth logout

Remove authentication profile

Remove stored authentication credentials. By default, removes the currently active profile (or the one specified with --profile). Use --all to remove every saved profile at once. A confirmation prompt is shown before deletion unless --yes is passed.

Usage

pgbeam auth logout [flags]

Options

OptionDescriptionRequiredDefault
--allRemove all saved profiles instead of just the active oneNofalse
--yes, -ySkip the confirmation promptNofalse

Global options

All global options (--token, --profile, --project, --org, --json, --no-color, --debug) are also available on this command.

Examples

# Remove the active profile
pgbeam auth logout

# Remove a specific profile
pgbeam auth logout --profile staging

# Remove all profiles without confirmation
pgbeam auth logout --all --yes

Output

Prints a success message confirming which profile was removed (e.g. Profile "default" removed.). If --all is used, confirms all profiles were removed.

On this page