PgBeam Docs
orgs

orgs switch

Switch active organization

Switch the active organization for the current authentication profile. All subsequent commands that require an organization will use this org. If no org ID is provided, you'll be prompted to enter one.

Usage

pgbeam orgs switch [id]

Options

OptionDescriptionRequiredDefault
<id>Organization ID to switch to. If omitted, you will be prompted.No-

Global options

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

Examples

# Switch interactively
pgbeam orgs switch

# Switch to a specific organization
pgbeam orgs switch org_xxx

Output

Prints a confirmation message (e.g. Switched to organization org_xxx.).

On this page