Authentication

Switch organization

Re-issues an access token scoped to another organization the caller belongs to. The refresh token is untouched and no other session is affected; the new token's role comes from the membership in the target organization, not from the token being replaced.

post/api/v1/auth/switch-organization

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/auth/switch-organization
  • Auth: HTTP bearer

Cookies

refresh_tokenstring

Request body

organizationIdstring uuid required

Response

Access token re-issued for the target organization

Changes

No recorded changes to this operation across all 1 revision of this API.