Skip to main content
PATCH
Change an organization member's role

Authorizations

Authorization
string
header
required

Headers

X-Workspace-Id
string<uuid>
required

UUID of the workspace to act in. Take it from GET /me (workspaces[].id). A key scoped to specific workspaces is rejected with 403 WORKSPACE_NOT_ALLOWED for any other id; a missing header is 400 WORKSPACE_REQUIRED.

Path Parameters

id
string<uuid>
required

The member's user id

Body

application/json
role
enum<string>
required
Available options:
owner,
admin,
member

Response

The role after the change

data
object
required