Get Roles

Get Roles
Request
URI
GET
https://{api_host}/api/usrmgmt/v1/roles
COPY
Query Parameters
integer
from
Optional
Constraints: default: 0

from

integer
size
Optional
Constraints: default: 5000

size

string
sortBy
Optional
Constraints: default: updateTime

sortBy

string
sortOrder
Optional
Constraints: default: asc

sortOrder


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Array of VSARole of type(s) application/json
[
    {
        "roleName": "1",
        "roleDesc": "1",
        "policyRef": "default_wo_filter",
        "userGroup": "final-test",
        "creationTime": 1708506074784,
        "updateTime": 1708679996263,
        "uiPermission": [
            "OP_UI_CONSOLE_NOTIF_LOG",
            "OP_UI_CONSOLE_NOTIF_SUMMARY",
            "OP_UI_CONSOLE_NOTIF_TOPO_MAP",
            "OP_UI_CONSOLE_NOTIF_TOPO_EXP",
            "OP_UI_CONSOLE_TASKS",
            "OP_UI_ADMIN_POLICY",
            "OP_UI_ADMIN_ROLE",
            "OP_UI_ADMIN_SHARED_VIEWS",
            "OP_UI_ADMIN_USER_FEDERATION_UI",
            "OP_UI_ADMIN_COLLECTORS_CONNECTORS",
            "OP_UI_ADMIN_CREDENTIALS",
            "OP_UI_ADMIN_SMARTS_CREDENTIALS",
            "OP_UI_ADMIN_KAFKA_MAPPER",
            "OP_UI_ADMIN_DATA_MODEL_CATALOG_UI",
            "OP_UI_ADMIN_HEALTH_DASHBOARD",
            "OP_UI_ADMIN_KPI",
            "OP_UI_ADMIN_ENRICHMENT",
            "OP_UI_ADMIN_ALERTS",
            "OP_UI_ADMIN_ANALYTICS",
            "OP_UI_ADMIN_REMEDIATION_POLICY",
            "OP_UI_ADMIN_REMEDIATION_ACTION",
            "OP_UI_ADMIN_BUNDLE",
            "OP_UI_ADMIN_LOG_MANAGER",
            "OP_UI_ADMIN_SERVICE_LOG",
            "OP_UI_ADMIN_SMARTS_LOG",
            "OP_ACTION_ACK",
            "OP_ACTION_UNACK",
            "OP_ACTION_TAKE_OWNER",
            "OP_ACTION_RELEASE_OWNER",
            "OP_ACTION_SERVER_TOOLS",
            "OP_REMEDIATION_ACTION",
            "OP_REMEDIATION_RULE",
            "OP_UI_CONSOLE_CONTAINMENT",
            "OP_UI_CONSOLE_DM_BROWSE",
            "OP_UI_CONSOLE_AUDIT_LOG",
            "PERFORMANCE_UI_VIEW",
            "PERFORMANCE_UI_EDIT",
            "PERFORMANCE_UI_ADMIN"
        ],
        "extUGRef": null
    }
]

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/usrmgmt/v1/roles