GET
/
api
/
users
/
{id}
curl --request GET \
  --url http://localhost/api/users/{id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "firstName": "<string>",
  "lastName": "<string>",
  "email": "<string>",
  "enabled": true,
  "ldap": true,
  "role": "USER",
  "hasAvatar": true
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Response

200
*/*
OK
id
string
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