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"
]
}
]
}
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"
}
]
}
400
Bad Request
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
500
Internal Server Error
Returns errorResponse of type(s) application/json
{
"errors": [
{
"code": "string",
"message": "string"
}
]
}
Rbac Privileges Operations
GET
Get all Rbac authorization privileges summary
POST
Get Privileges Details
POST
Query User Privileges