Skip to main content
PUT
Update User Role

Authentication & Scope

Requires the workspace-users-write ability.

Request

Path Parameters

Body Parameters

Response

200 OK – Role updated successfully.
404 Not Found – User is not a member of this workspace.

Authorizations

Authorization
string
header
required

Personal Access Token created from the Raydocs dashboard. Include in the Authorization header: Bearer <your_token> See API Keys for token creation and management.

Path Parameters

workspaceId
integer
required
userId
integer
required

Body

application/json
role
enum<string>
required
Available options:
admin,
user,
readonly

Response

Role updated