Get Role Customization Privileges

Get Role Customization Privileges

Get privileges for roles in a Role Customization Package

Privileges required:

READ ROLE_CUSTOMIZATION_PACKAGE

Request
URI
POST
https://{api_host}/portal/rest/role/getRoleCustomizationPrivileges
COPY
Request Body
{
    "id": 0
}
integer
id
Optional

id

Responses
200

Request was successfully processed

Returns get_role_customization_privileges_result of type(s) application/json
{
    "packageName": "string",
    "packageDescription": "string",
    "level": {
        "enterpriseId": 0,
        "enterpriseProxyId": 0,
        "networkId": 0
    },
    "definitions": [
        {
            "roleId": 0,
            "userType": "string",
            "description": "string",
            "privileges": [
                {
                    "privilege": "string",
                    "action": "string",
                    "object": "string",
                    "isDeny": 0
                }
            ],
            "effectivePrivileges": [
                {
                    "privilege": "string",
                    "action": "string",
                    "object": "string",
                    "isDeny": 0
                }
            ]
        }
    ]
}
string
packageName
Optional

packageName

string
packageDescription
Optional

packageDescription

object
level
Optional

level

array of object
definitions
Optional

definitions


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 '{}' https://{api_host}/portal/rest/role/getRoleCustomizationPrivileges