Get information about the current user

GET /Api/Auth/Control

Requires one of the following permissions: Auth.Control

Responses

GET /Api/Auth/Control
curl \
 -X GET https://app.lovassy.hu/Api/Auth/Control \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "user": {
    "id": "string",
    "name": "string",
    "email": "string",
    "emailVerifiedAt": "2024-05-04T09:42:00+00:00",
    "realName": "string",
    "class": "string"
  },
  "session": {
    "expiry": "2024-05-04T09:42:00+00:00"
  },
  "isSuperUser": true,
  "userGroups": [
    "string"
  ],
  "permissions": [
    "string"
  ],
  "features": [
    "string"
  ]
}