Skip to main content
PUT
Update user

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Body

application/json
firstName
string
required
Pattern: ^[a-zA-Z\s]{1,255}$
lastName
string
required
Pattern: ^[a-zA-Z\s]{1,255}$
email
string
required
role
enum<string>
required
Available options:
USER,
ADMIN

Response

OK

id
string<uuid>
firstName
string
lastName
string
email
string
enabled
boolean

User status (only available for admins)

ldap
boolean

LDAP authentication status (only available for admins)

role
enum<string>

Role of the user (only available for admins)

Available options:
USER,
ADMIN
hasAvatar
boolean