API v2: UAG - Current User Identity πΒΆ
Data StructuresΒΆ
Attribute |
Type |
Required |
Description |
|---|---|---|---|
|
string |
Username of the currently authenticated user. |
|
|
string |
Domain name if applicable (nullable). |
|
|
string |
Language preference set by the user. |
Get Current User IdentityΒΆ
Request
Method |
|
Path |
|
GET /api/v2/me
Example Request
curl -s -k -X GET \
-H 'Authorization: sgfeea6jsaz4mum9su8w6' \
'https://10.0.214.98/api/v2/me'
Response
{
"result": "success",
"username": "admin",
"domain": null,
"language": "pl"
}