Get information about a user
Requires verified email; Requires one of the following permissions: Users.ViewUser; Requires the following features to be enabled: Users
Path parameters
-
id
string(uuid) Required
GET
/Api/Users/{id}
curl \
-X GET https://app.lovassy.hu/Api/Users/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"id": "string",
"name": "string",
"email": "string",
"emailVerifiedAt": "2024-05-04T09:42:00+00:00",
"realName": "string",
"class": "string",
"lastOnlineAt": "2024-05-04T09:42:00+00:00",
"userGroups": [
{
"id": 42,
"name": "string",
"permissions": [
"string"
]
}
],
"createdAt": "2024-05-04T09:42:00+00:00",
"updatedAt": "2024-05-04T09:42:00+00:00"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}