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
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


Excerpt
Gets all roles of the specified tenant
Required user role: YUUVIS_SYSTEM_INTEGRATOR


Meaning of the response status codes:


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


Request Example

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

Result Example


Panel

[

  {​
     ​"name": "QualityManager",
     "description" :"A quality manger has to release documents"
  }​​,
  ...
]


{

...