Get Permissions By Filter

Get Permissions By Filter

Query Rbac authorization permissions

Request
URI
POST
https://{api_host}/tca/rbac/api/v1/orgs/{orgId}/permissions/query
COPY
Path Parameters
string
orgId
Optional

The identifier of the tenant


Request Body

Filter object.

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

filter

Authentication
This operation uses the following authentication methods.
Responses
200

Successfully retrived requested permissions.

Returns permissionList of type(s) application/json
{
    "items": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "objectFilters": [
                {
                    "description": "string",
                    "name": "string",
                    "objectType": "string",
                    "pipeLine": [
                        {
                            "filters": [
                                {
                                    "attribute": "string",
                                    "attributeOperator": "string",
                                    "attributeValues": [
                                        "string"
                                    ],
                                    "path": "string"
                                }
                            ],
                            "predicate": "string"
                        }
                    ]
                }
            ],
            "applyFilterToCreate": false,
            "roleId": "string",
            "creationDate": "string",
            "roleName": "string",
            "usersAndGroups": [
                "string"
            ]
        }
    ]
}
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

404

Permission not found

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