labbench organizations | All commands

labbench organizations leave

Leave an organization (needs a signed-in session)

Leave an organization and lose access to every lab it owns; labs you own yourself, even ones affiliated with it, are kept. Show the person the labs `organizations list` names for it and get their explicit confirmation first. --confirm is required. This needs a signed-in session; an API token is refused. The last owner cannot leave (last_owner), nor can the only manager of a lab the organization owns (last_manager: the refusal names those labs, and `organizations list` marks them). If the identity provider cannot remove the membership, nothing changes (provider_unavailable or provider_refused) and the leave can be retried.

Usage

labbench organizations leave ORG_ID [flags]

Example

labbench organizations leave ORG_ID

Flags

FlagTypeDefaultDescription
--confirmboolfalseconfirm leaving the organization

Every command also accepts the global flags.