GET /tenant-management/api/system/tenants/{tenant}/users/{id}

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

Available if listed in authorization.accesses in authentication-prod.yml and the specified access condition is matched. In the default configuration, access is granted via the YUUVIS_SYSTEM_INTEGRATOR role.

>> AUTHENTICATION Service
Description

Retrieves the data of the user specified by tenant and id.


Meaning of the response 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.
Request Example

GET /tenant-management/api/admin/tenant/users/a99a0bb1-2345-6c77-8901-22dee3f4a567 HTTP/1.1

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

{