People

Set the role of a member

Change the role a member holds. The role is validated against the roles defined in your workspace.

Required scope members:edit

patch/members/{id}

Authorizations

Authorizationstringrequired

Authorization header carrying a workspace API key, as “Bearer kbn_live_…”. The X-Api-Key header is accepted equivalently.

Path parameters

idstring<uuid>required

Identifier of the member account.

Bodyapplication/json

rolestring<uuid>required

Role to grant the member.

Response200 · application/json

The updated member record.

accountIdstring<uuid>required

Identifier of the member account.

emailstringrequired

Email address of the member.

firstNamestring | null

First name of the member.

lastNamestring | null

Last name of the member.

rolestring | null

Role the member holds in the workspace.

pendingbooleanrequired

Whether the invitation is still awaiting acceptance.

createdAtstring<date-time>

Timestamp the member joined.