Skip to main content

Switch the active organization

POST 

/v1/me/switch-organization

Mint a new access token scoped to another organization the user is a member of (SPEC-15 §2.7). When the refresh cookie is present, the current refresh session is re-pointed at the target organization so subsequent token refreshes stay in it. 404 when the user is not a member of the target organization.

Request

Responses

Default Response

Response Headers
    X-Request-Id

    ULID stamped on every response and propagated through error envelopes. Use it when filing support tickets — it identifies the exact request in the structured logs (requestId field).

    X-RateLimit-Limit

    Requests-per-second ceiling for the current bucket (per-organization for authenticated calls, per-IP for public ones).

    X-RateLimit-Remaining

    Tokens left in the bucket after this request.

    X-RateLimit-Reset

    ISO-8601 timestamp when the bucket will be fully refilled.