Currently logged in user

Get info about the currently logged in user. Return an object with user details

Responses
200

OK

401

Unauthorized request. Make sure token was included and is valid and try again.

get/user-service/v1/user/whoami
Request samples
curl -i -X GET \
  http://localhost:8081/user-service/v1/user/whoami
Response samples
application/json
{
  • "username": "string",
  • "authorities": [
    ],
  • "authenticator": "string",
  • "orgId": "string",
  • "usingMfa": true,
  • "lastName": "string",
  • "firstName": "string",
  • "email": "string",
  • "isSsoUser": false,
  • "forcePasswordChange": false,
  • "timeZone": "string",
  • "locale": "string",
  • "credentialsExpired": false,
  • "primaryPhone": "string",
  • "primaryPhoneCountryCode": "string",
  • "primaryPhoneExtension": "string"
}