PUT
/
users
/
{subOrEmail}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

subOrEmail
string
required

Sub or email of the user

Body

application/json
role
string
required

The new role to assign to the user

Response

200 - application/json

Workspace user

accepted
boolean

Whether the user has accepted the workspace invitation

email
string

Workspace user email

email_verified
boolean

Whether the user's email has been verified

family_name
string

Workspace user family name

given_name
string

Workspace user given name

role
string

Workspace user role

sub
string

Workspace user identifier