Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

As of Versionproduct version 2021 Autumn (Alpha1) | component version 1.0
Request MethodPOST
Response FormatJSON
Description

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

Required user role: YUUVIS_SYSTEM_INTEGRATOR

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

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.

POST /tenant-management/api/system/tenants/mytenant/roles HTTP/1.1

{
"description": "This is a new role",
"name": "MY_NEW_ROLE"
}
Response Example
{
"errors": [],
"valid": true
}
  • No labels