PATCH/organizations/{organizationId}/members/{memberId}

Update a member role

Changes a member's role, project access, or account state.

Send request

Use the documented inputs to call this endpoint directly.

API serverbase URL
Bearer tokenBearerAuthoptional
Stored only in this browser for the BearerAuth security scheme and reused on every API page in this group.

Parameters

Values are applied to the request and the example on the right.

organizationIdpath · stringrequired

Opaque organization identifier.

memberIdpath · stringrequired

Request body

application/jsonrequired
rolestringoptional
statusenumoptional

Values: "active" · "suspended"

project_idsarray<string>optional

Responses

200application/json

Member updated.

{
  "id": "mem_01J8F3D2P9Q7V6N5M4K",
  "email": "mira@northstar.example",
  "name": "Mira Kowalska",
  "role": "admin",
  "status": "active",
  "last_seen_at": "2026-09-03T12:08:41Z",
  "created_at": "2025-01-12T09:15:00Z"
}
idstringoptional
emailstring · emailoptional
namestringoptional
rolestringoptional
statusstringoptional
last_seen_atstring · date-timeoptional
created_atstring · date-timeoptional
422

Role transition is invalid.