v1/identity/me
Retrieves the authenticated user's identity, associated providers, roles, and metadata.
Header parameters
AuthorizationstringOptional
Bearer token for optional database authentication.
X-User-IdentitystringRequired
JWT issued by Olympus-Grid Identity Manager. Required for API access.
Responses
200
Successful response
application/json
401
Unauthorized
500
Server error
get
GET /v1/identity/me HTTP/1.1
Host: api.olympus-grid.com
X-User-Identity: text
Accept: */*
{
"statusCode": 1,
"result": {
"superAdmin": true,
"sub": "text",
"name": "text",
"locale": "text",
"identityVersion": "text",
"identityRoles": [
"text"
],
"identityProviders": [
{
"type": "text",
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"data": {
"userId": "text",
"username": "text",
"id": "text",
"sub": "text"
}
}
],
"email_verified": true,
"email": "text",
"active": true
}
}
Last updated