Skip to main content
PATCH
Update a user

Authorizations

X-API-KEY
string
header
required

Body

application/json

User

email
string
required

The email address of the user, which is the primary ID in Gable

Pattern: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
firstName
string

The first name of the user

lastName
string

The last name of the user

githubHandle
string

The GitHub handle of the user

Pattern: ^[a-zA-Z0-9-]*$
role
enum<string>

The role of the user

Available options:
ADMIN,
EDITOR,
VIEWER

Response

User was updated successfully

email
string
required

The email address of the user, which is the primary ID in Gable

Pattern: ^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$
role
enum<string>
required

The role of the user

Available options:
ADMIN,
EDITOR,
VIEWER
firstName
string

The first name of the user

lastName
string

The last name of the user

githubHandle
string

The GitHub handle of the user