Switch active partner membership (rica-portal attribution)

Re-issues the access token bound to a different PARTNER_AGENT membership owned by the authenticated partner user, without rotating the refresh token. Returns the same shape as login (accessToken, refreshToken, user) — refreshToken is the caller’s existing token, echoed unchanged. Used by the rica-portal membership picker / header switcher to drive ADR-0002 PARTNER_AGENT-only attribution.

Access: Auth methods: JWT bearer.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

UUID of the partner membership to attribute subsequent requests to. The membership must be active and its role must be PARTNER_AGENT.

string
required

The caller’s current partner refresh token. Echoed back in the response unchanged — this endpoint re-issues only the access token, not the refresh token.

Responses

400

PARTNER_AGENT_REQUIRED — target membership exists but its role is not PARTNER_AGENT; non-AGENT memberships cannot drive attribution.

401

Unauthorized

404

MEMBERSHIP_NOT_FOUND — no active membership for the given partnerUuid is owned by the authenticated user.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json