Replace a member's roles
Replaces the complete role set of an existing member of your account. It never adds a membership and never changes roles on another account.
Only an account_admin of {account_id} may call it. Grantable roles are developer,
account_admin, and billing_admin. Removing roles takes effect for the member’s
existing API keys and tokens.
Authorizations
A Reactor API key (rk_...), sent as Authorization: Bearer rk_.... Keep it on a server.
Path Parameters
The user's ID. Use the id from GET /me for your own user.
The account's ID. Use the account_id from GET /me.
Body
Role names. Duplicates collapse into one.
1A role you can grant within an account.
developer, account_admin, billing_admin Response
The updated member. account_id and roles describe this membership.
An account the user belongs to. When the response is scoped to one membership, this is
that membership's account. New clients should read accounts instead.
The user's roles in account_id. New clients should read accounts instead.
When the user was created, as an RFC 3339 timestamp.
"2026-01-15T10:30:00Z"
The memberships you may see: all of them for your own user, or only the shared one when an account admin reads another member. Omitted on membership-update responses.