Role Apply Role Customization Package

Role Apply Role Customization Package

Applies role customization package in the VCO. After running this API, roles would be customized as per the package specification

Privileges required:

MODIFY_NETWORK_CUSTOM_ROLES undefined, or

MODIFY_ENTERPRISE_CUSTOM_ROLES undefined, or

MODIFY_ENTERPRISE_PROXY_CUSTOM_ROLES undefined

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

Id of the role customization package

Responses
200

Request was successfully processed

Returns role_apply_role_customization_package_result of type(s) application/json
{
    "customizationResults": [
        {
            "forRoleId": 0,
            "addPrivileges": {
                "customRoleId": 0,
                "roleCustomizationId": 0,
                "insertedPrivileges": 0
            },
            "removePrivileges": {
                "deletedPrivileges": 0,
                "deletedRoleCustomizations": 0,
                "deletedRoles": 0,
                "deletedRoleCustomizationAssoc": 0,
                "roleCustomizationId": 0
            }
        }
    ]
}
array of object
customizationResults
Optional

customizationResults


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 '{"id:"integer"}' https://{api_host}/portal/rest/role/applyRoleCustomizationPackage