Get Role

Get Role

Retrieve an existing role.

Request
URI
GET
https://{api_host}/https://{{host}}:{{port}}/api/v5/rbac/roles/{roleName}
COPY
Path Parameters
string
roleName
Required

Role name.


Responses
200

Role management.

Returns Role of type(s) */*
{
    "id": "string",
    "name": "string",
    "permissions": [
        {
            "name": "string"
        }
    ]
}
string
id
Optional

id

string
name
Required

name

array of Permission
permissions
Required

permissions


401

Unauthorized access

Returns Role of type(s) */*
{
    "id": "string",
    "name": "string",
    "permissions": [
        {
            "name": "string"
        }
    ]
}
string
id
Optional

id

string
name
Required

name

array of Permission
permissions
Required

permissions


404

Such resource was not found.

Returns Role of type(s) */*
{
    "id": "string",
    "name": "string",
    "permissions": [
        {
            "name": "string"
        }
    ]
}
string
id
Optional

id

string
name
Required

name

array of Permission
permissions
Required

permissions


504

Connection timed out.

Returns Role of type(s) */*
{
    "id": "string",
    "name": "string",
    "permissions": [
        {
            "name": "string"
        }
    ]
}
string
id
Optional

id

string
name
Required

name

array of Permission
permissions
Required

permissions