Skip to main content
PATCH
Change someone's role

Authorizations

Authorization
string
header
required

A pc_… token generated from Settings > API & MCP.

Path Parameters

username
string
required
workspaceId
string<uuid>
required

Identifier of a row.

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

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

Response

Success.

member
object
required