Switch active organization
POST/api/auth/switch-org
Switches the authenticated user's active organization context. Re-issues a new access token (and refresh token) scoped to the chosen org. The user must be a member of the target org
Responses
- 200
- 400
- 401
- 403
Switched, new access token set in cookies
Missing or invalid org_id
Unauthorized
Not a member of the target org