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
| Option | Description | Required | Default |
|---|---|---|---|
--all | Remove all saved profiles instead of just the active one | No | false |
--yes, -y | Skip the confirmation prompt | No | false |
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 --yesOutput
Prints a success message confirming which profile was removed (e.g.
Profile "default" removed.). If --all is used, confirms all profiles were
removed.