Skip to content

cub auth switch

cub auth switch

Switch to a different organization

Synopsis

Switch to a different organization without going through the browser UI.

The organization argument can be a partial match of:

  • Organization Display Name (e.g., "ConfigHub")
  • Organization Slug (e.g., "id3f6c2a1e-9b4d-4e7a-8c52-1d0f7e9a6b43")
  • Organization ID (ConfigHub UUID, e.g., "2af2356f-8587-4816-8619-77dfa85fb524")
  • External ID (the identity provider's UUID, e.g., "3f6c2a1e-9b4d-4e7a-8c52-1d0f7e9a6b43")

Examples:

  # Switch to organization by display name
  cub auth switch "ConfigHub"

  # Switch to organization by slug
  cub auth switch "id3f6c2a1e-9b4d-4e7a-8c52-1d0f7e9a6b43"
cub auth switch [organization] [flags]

Options

  -h, --help   help for switch

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output

SEE ALSO