Create Role

Create Role

Create a new role.

Request
URI
POST
https://{api_host}/https://{{host}}:{{port}}/api/v5/rbac/roles
COPY
Request Body
Role of type(s) application/json
Required

Show optional properties

{
    "name": "string",
    "permissions": [
        {}
    ]
}
{
    "id": "string",
    "name": "string",
    "permissions": [
        {
            "name": "string"
        }
    ]
}
string
id
Optional

id

string
name
Required

name

array of Permission
permissions
Required

permissions

Responses
200

Role management.

Operation doesn't return any data structure

401

Unauthorized access

Operation doesn't return any data structure

404

Such resource was not found.

Operation doesn't return any data structure

504

Connection timed out.

Operation doesn't return any data structure