Skip to main content
PUT
Update Workspace User Role

Update Workspace User Role

Change a member’s role within a workspace.

Authentication & Scope

Requires the workspace-users-write ability and admin privileges in the workspace.

Request

Path Parameters

Body Parameters

Example:

Response

200 OK – Confirmation message.
403 Forbidden – Token lacks workspace-users-write or you lack permission.

Authorizations

Authorization
string
header
required

Personal Access Token

Path Parameters

workspaceId
string
required
userId
string
required

Body

application/json
role
enum<string>
required

New role for the user.

Available options:
admin,
user,
readonly

Response

Role updated