cs switch
Change the organization every cs command acts on, without signing in again.
cs switch re-scopes the stored session to another organization you belong to.
Keys, connectors, remote servers, usage, and /mcp calls then act on that
organization. cs whoami shows the active organization and
the others you can switch to.
Usage
cs switch # choose from a list
cs switch org_01K… # switch to one organizationChoose an organization:
1) org_01J… (Acme) [admin] (default)
2) org_01K… (Side project) [member]
Organization [1]: 2
Switched to org_01K… (Side project) [member].Without a terminal, name the organization. If you belong to several and name
none, the command lists them and exits with code 1. An id you are not a member
of is refused the same way.
When the switch is refused
Some organizations require their own sign-in, such as SSO or MFA. A session
that did not come from that sign-in cannot be switched into the organization,
and the command exits with code 3. Sign in to the organization directly
instead:
cs login --org org_01K…