Authentication

Switch Organization

Switch to a different organization context.

Returns a new access token scoped to the requested organization. User must have a role in the target organization.

post/api/v1/auth/switch-org

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Headers

X-API-Keystring nullable

Request body

organization_idstring required

Response

Successful Response

access_tokenstring required
token_typestring
expires_ininteger required

Changes

No recorded changes to this operation across all 2 revisions of this API.