organizations

Switch Active Organization

Point the caller's identity at another organization they belong to.

Distinct from PATCH /me, which renames the organization already active. This changes which organization every later request is scoped to, so workspaces, keys, budgets and usage all follow it. Answers 404 for an organization the caller holds no active membership in, whether or not it exists.

post/v1/organizations/me/switch

Request body

organization_idstring uuid required

Response

Successful Response

byo_provider_keys_allowedboolean
deployment_operatorboolean
organization_member_idstring uuid required
provider_key_encryption_availableboolean
rolestring required
statusstring required

Changes

Changed in 5 of the 136 revisions of this API.15