Skip to main content
GET
List a user's roles

Authorizations

Authorization
string
header
required

A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.

Path Parameters

user_id
string<uuid>
required

The user's ID. Use the id from GET /me for your own user.

Response

The user's roles.

roles
string[]
required
deprecated

A single-account view of the user's roles, kept for older clients. Read accounts instead.

accounts
object[]
required

The memberships you may see: all of them for your own user, or only the shared one for another member of your account.