Get Privileges Details

Get Privileges Details

Get all Rbac authorization privileges details

Request
URI
POST
https://{api_host}/admin/hybridity/api/authz/rbac/privileges/query
COPY
Request Body

Filter object.

filter of type(s) application/json
Required
{
    "filter": {
        "id": [
            "string"
        ],
        "roleId": [
            "string"
        ]
    }
}
filter
Optional

filter

Authentication
This operation uses the following authentication methods.
Responses
200

Accepted

Returns privileges of type(s) application/json
{
    "items": [
        {
            "includedPrivileges": [
                "SYSTEM ADMIN",
                "SYSTEM ADMIN"
            ],
            "accessibleObjects": [
                "Network Function Catalog",
                "Network Function Catalog"
            ],
            "description": "description",
            "id": "id",
            "privilege": "SYSTEM ADMIN",
            "category": "SYSTEM WIDE"
        },
        {
            "includedPrivileges": [
                "SYSTEM ADMIN",
                "SYSTEM ADMIN"
            ],
            "accessibleObjects": [
                "Network Function Catalog",
                "Network Function Catalog"
            ],
            "description": "description",
            "id": "id",
            "privilege": "SYSTEM ADMIN",
            "category": "SYSTEM WIDE"
        }
    ]
}
items
Optional

items


400

Bad Request

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors


401

Unauthorized

Operation doesn't return any data structure

403

Forbidden

Operation doesn't return any data structure

500

Internal Server Error

Returns errorResponse of type(s) application/json
{
    "errors": [
        {
            "code": "string",
            "message": "string"
        }
    ]
}
array of error
errors
Optional

errors