GET /tenant-management/api/admin/users/{id}

As of Versionproduct version 2020 Winter | component version 1.0
Request MethodGET
Response FormatJSON
Description

Retrieves the data of the user specified by id.

Required user role: YUUVIS_TENANT_ADMIN

Response HTTP status codes:

HTTP Status CodeMeaning
200 OKSuccessful, the data of the specified user of the specified tenant has been read.
401 UNAUTHORIZEDThe call was unauthorized.
404 NOT FOUNDThe user specified by id was not found.
Request Example

GET /tenant-management/api/admin/users/a69a0eb6-3662-4c00-8096-38fbb2c4a922 HTTP/1.1

Result Example
[{
  "id": "a69a0eb6-3662-4c00-8096-38fbb2c4a922",
  "email": "firstexample@exampleprovider.de",
  "userName": "mrexample",
  "firstName": "Examplename",
  "lastName": "Examplesurname",
  "roles": ["role1","role2"],
  "groups": ["group3","group1"],
  "enabled": true,
  "createdTimestamp": 1555069963564
}]