Versions Compared

Key

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



Page Properties
hiddentrue
idrDOC

Product Version2021 Autumn
Report Note
AssigneeMartin

Resources & Remarks

  • Version 2.4 - options" ...  "synchronousContentAnalysis": true (OKTO-4309)

Modification History

NameDateProduct VersionAction
Martin31 May 20212021 AutumnCreated
Antje04 JUN 20212021 Summerpublished



POST /tenant-management/api/admin/roles HTTP/1.1

As of Versionproduct version 2021 Autumn (Alpha1) | component version 1.0
Request MethodPOST
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_TENANT_ADMIN role.

>> AUTHENTICATION Service
Description


Excerpt
Creates a new role for the tenant with the given properties.

Required user role: YUUVIS_TENANT_ADMIN

The properties for the new role are passed in JSON format
properties specified in the JSON request body.


The only required parameters are name for the role and its description.

Meaning of the response status codes:


HTTP Status CodeMeaning
201 CREATEDSuccessful, the user has been created with the specified properties.
401 UNAUTHORIZEDThe call was unauthorized.


Request Example

Will be introduced with the Release Candidate with the tag todo.

Panel
Code Block
languageyml
{


  "description": "This is a new role",


  "name": "MY_NEW_ROLE"


}


Response Example


Panelcode
languageyml
{
"errors": [],
"valid": true
}