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

Authorizations

Authorization
string
header
required

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

Response

200
*/*
OK
id
string
firstName
string
lastName
string
email
string
role
enum<string>
Available options:
USER,
ADMIN
enabled
boolean
ldap
boolean
hasAvatar
boolean
authorities
object[]