Query User Privileges

Query User Privileges

Get all Rbac authorization privileges for the logged in user based on filters provided.

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

Filter object.

userPrivilegesFilter of type(s) application/json
Required
{
    "filter": [
        {
            "objectType": "string",
            "objectId": [
                "string"
            ]
        }
    ]
}
filter
Optional

filter

Authentication
This operation uses the following authentication methods.
Responses
200

Accepted

Returns queryPrivilegesResponse of type(s) application/json
{
    "items": [
        {
            "privileges": [
                "privileges",
                "privileges"
            ],
            "objectId": "objectId",
            "objectType": "objectType"
        },
        {
            "privileges": [
                "privileges",
                "privileges"
            ],
            "objectId": "objectId",
            "objectType": "objectType"
        }
    ]
}
items
Optional

items


400

Bad Request

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

errors


500

Internal Server Error

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

errors