GET /api-web/api/idm/whoami
As of Version | product version 2023 Spring | ||||||
---|---|---|---|---|---|---|---|
Request Method | GET | ||||||
Response Format | JSON | ||||||
Description | This request retrieves the user information of the current logged in user. Per default, Note: Keep in mind that a session cookie is created that may have to be ignored by your custom microservice. whoami: endpoint: http://whoamitest Response HTTP status codes:
| ||||||
Request Example |
no request body | ||||||
Response Example |
{ "username": "string", "id": "string", "foreignid": "string", "type": "string", "title": "string", "email": "string", "firstname": "string", "lastname": "string", "domain": "string", "tenant": "string", "authorities": [ "string" ], "substituteOf": [ "string" ], "accountNonExpired": true, "accountNonLocked": true, "credentialsNonExpired": true, "enabled": true, "displayName": "string" } |