GET /userservice/api/users/{userId}

Deprecated as of version 2021 Winter. Please use the user-controller of the Tenant Management API instead.
As of Version

product version 2021 Summer | component version 

Request MethodGET
Response FormatJSON
Description

Retrieves the information on the user specified by userId.

Response HTTP status codes:

HTTP Status CodeDescription
200OK
401Unauthorized
404Not found
Request Example
https://<host>/userservice/api/users/12849a-1bca-f2342
Response Example

200 OK

response body
{
  "accountNonExpired": true,
  "accountNonLocked": true,
  "authorities": [
    "string"
  ],
  "credentialsNonExpired": true,
  "email": "john.doe@mail.org",
  "enabled": true,
  "firstname": "John",
  "foreignId": "string",
  "id": "string",
  "lastname": "Doe",
  "tenant": "string",
  "username": "jdoe"
}