Update Workspace User Role
Workspace Users
Update Workspace User Role
Requires workspace-users-write. Update a member’s role.
PUT
Update Workspace User Role
Update Workspace User Role
Change a member’s role within a workspace.Authentication & Scope
Requires theworkspace-users-write ability and admin privileges in the workspace.
Request
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| workspaceId | number | ID of the workspace. |
| userId | number | ID of the user to update. |
Body Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| role | string | Yes | New role (admin, user, or readonly). |
Response
200 OK – Confirmation message.
403 Forbidden – Token lacks workspace-users-write or you lack permission.