API v2: UAG - Current User Identity πŸ†•ΒΆ


Data StructuresΒΆ

UserIdentityModelΒΆ

Attribute

Type

Required

Description

username

string

Username of the currently authenticated user.

domain

string

Domain name if applicable (nullable).

language

string

Language preference set by the user.

Get Current User IdentityΒΆ

Request

Method

GET

Path

/api/v2/me

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"
}