Skip to main content
PATCH
Update member role

Path Parameters

workspaceSlug
string
required

URL-safe workspace identifier.

username
string
required

Public handle of the member's account.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$

Body

application/json

Request to update a member's role.

Request to update a member's role.

role
required

New role for the member.

Allowed value: "owner"

Response

Represents a workspace member.

Represents a workspace member.

createdAt
string<date-time>
required

Timestamp when the member joined the workspace.

emailAddress
string
required

Email address of the member.

has2fa
boolean
required

Whether the member has two-factor authentication enabled.

memberRole
required

Role of the member in the workspace.

Allowed value: "owner"
username
string
required

Handle of the member's account.

Required string length: 3 - 32
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
avatarUrl
string

Serve path of the member's avatar, when set.

displayName
string

Display name of the member, when set.