Get Roles

Get Roles

Retrieve all existing roles.

Request
URI
GET
https://{api_host}/https://{{host}}:{{port}}/api/v5/rbac/roles
COPY
Responses
200

Role management.

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

401

Unauthorized access

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

404

Such resource was not found.

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

504

Connection timed out.

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