Skip to main content

Switch the active organization

POST 

/organizations/:organization_id/switch

Sets the authenticated user's currentOrganizationId to the given organization. The body is empty. The caller must be a member of the target organization; non-members and non-existent organizations both return 404 (to prevent ID enumeration).

This is the call that scopes a user's subsequent platform work to a specific organization — for client-managed/org-client users it is what makes organization-scoped resource access (e.g. running workflows) resolve against the intended organization.

Request

Responses

The now-active organization