v1

latestOpenAPI 3.1.0raw.githubusercontent.com2026-01-138320.8 KB
Users

Update user role

Updates the role of a user in the organization.

Scope: users:write
patch/users/{userId}

Path parameters

userIdstring required

Unique identifier of the user.

Example:cmk46vbto00002a6g3gzx6l0

Request body

role'admin' | 'member' | 'viewer' required

Role of the user within the organization.

Example request

{
  "role": "member"
}

Response

User role updated successfully