Get information about the current user
Requires one of the following permissions: Auth.Control
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"
]
}