Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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


Excerpt

Retrieves a list of all users of the specified tenant
Planned for 2021 Autumn: Filter the list by applying query parameters.


Required user role: YUUVIS_TENANT_ADMIN

Meaning of the response status codes:


HTTP Status CodeMeaning
200 OKSuccessful, the data of all users of the specified tenant have been read.
401 UNAUTHORIZEDThe call was unauthorized.


Request Example

GET /tenant-management/api/system/tenants/myTenant/users HTTP/1.1

Response Example


Code Block
languageyml
[{
  "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
},
{
  "id": "a69a0eb6-3662-4c00-8096-38fbb2c4a933",
  "email": "secondexample@exampleprovider.de"
  "userName":: "msexample",
 , "firstName":: "Examplename2",
,  "lastName":: "Examplesurname2",
  "roles": ["group2","group7"],
  "enabled": true,
  "createdTimestamp": 1555069963563
},

...]

{

...