Memberships

Switch active organization.

Switches the authenticated user's active organization to orgId and re-issues the session cookie with the new org, team, slug, and role claims. Subsequent requests are then scoped to the newly active organization.

Returns 404 if the user is not a member of orgId.

post/api/v1/me/switch-org/{orgId}

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

orgIdstring required

Response

No Content

Changes

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