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": [
        {
            "objectId": "string",
            "objectType": "string",
            "privileges": [
                "string"
            ]
        }
    ]
}
items
Optional

items


400

Bad Request

Returns errorResponse of type(s) application/json
{
    "errors": [
        "error.yaml Object"
    ]
}
array of error.yaml
errors
Optional

errors


500

Internal Server Error

Returns errorResponse of type(s) application/json
{
    "errors": [
        "error.yaml Object"
    ]
}
array of error.yaml
errors
Optional

errors