Change a member's role
PUT/api/v1/organizations/members/:user_id
Promote or demote an existing organization member.
- Owner can change admin/manager/member roles (ownership transfers use
POST /current/transfer-ownership). - Admin can promote/demote between member and manager.
- The owner's role is never editable via this endpoint (400/403).
- 400 if
data.org_role == "owner"(use the transfer endpoint). - API-key scope required:
members:change_role.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
- 422
- 429
- 500
Successful Response
Bad request — malformed input or failed validation.
Missing, expired, or invalid credentials.
Authenticated but not authorized for this resource. Note: cross-organization reads return 404, not 403.
Resource not found, or hidden for tenant-enumeration safety (the caller lacks permission to know whether the resource exists).
Conflict — the current resource state does not allow this operation (e.g. assessment already started, email already in use).
Semantic validation failure — request shape was valid but contents were not.
Too many requests — rate limited. Retry after the window resets.
Internal server error — unexpected failure.