Role Get Eligible Privileges For Customization

Role Get Eligible Privileges For Customization

Gets list of privileges that are eligible for customization for the given role

Privileges required:

READ ROLE_CUSTOMIZATION_PACKAGE

Request
URI
POST
https://{api_host}/portal/rest/role/getEligiblePrivilegesForCustomization
COPY
Request Body

Show optional properties

{
    "roleId": 0
}
{
    "roleId": 0,
    "applicationId": 0
}
integer
roleId
Required

roleId

integer
applicationId
Optional

applicationId

Responses
200

Request was successfully processed

Returns eligible_privileges_result of type(s) application/json
{
    "allowPrivileges": [
        {
            "id": 0,
            "object": "string",
            "action": "string",
            "privilege": "string",
            "isDeny": 0,
            "isAssociated": 0
        }
    ],
    "denyPrivileges": [
        {
            "id": 0,
            "object": "string",
            "action": "string",
            "privilege": "string",
            "isDeny": 0,
            "isAssociated": 0
        }
    ]
}
array of object
allowPrivileges
Optional

allowPrivileges

array of object
denyPrivileges
Optional

denyPrivileges


400
Returns generic_400 of type(s) application/json
Operation doesn't return any data structure

500
Returns generic_500 of type(s) application/json
Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"roleId:"integer"}' https://{api_host}/portal/rest/role/getEligiblePrivilegesForCustomization