Role Save N Apply Role Customization Package
Updates basic attributes of package (including name and description), and the content of role customization package. Then Applies role customization package in the VCO Expects an _update
object containing the field(s) to be updated and their corresponding value(s).
Privileges required:
UPDATE
ROLE_CUSTOMIZATION_PACKAGE
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/saveAndApplyRoleCustomizationPackage
COPY
Request Body
Show optional properties
{
"_update": {}
}
{
"id": 0,
"_update": {
"name": "string",
"description": "string",
"blobContent": {
"enterpriseId": 0,
"enterpriseProxyId": 0,
"networkId": 0,
"roleCustomizations": [
{
"forRoleId": 0,
"addPrivileges": [
{
"privilege": "string",
"action": "string",
"object": "string",
"isDeny": 0
}
],
"removePrivileges": [
{
"privilege": "string",
"action": "string",
"object": "string",
"isDeny": 0
}
]
}
]
}
}
}
integer
id
Optional
id
object
_update
Required
_update
Responses
200
Request was successfully processed
Returns
role_apply_role_customization_package_result
of type(s)
application/json
"role_apply_role_customization_package_result Object"
array of
object
customizationResults
Optional
customizationResults
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"_update:"object"}' https://{api_host}/portal/rest/role/saveAndApplyRoleCustomizationPackage
Role Operations
POST
Role Apply Role Customization Package
POST
Role Get Eligible Privileges For Customization
POST
Get Role Customization Privileges
POST
Role Insert Role Customization Package
POST
Role Save N Apply Role Customization Package
POST
Role Set Enterprise Delegated To Enterprise Proxy
POST
Role Set Enterprise Delegated To Operator
POST
Role Set Enterprise Proxy Delegated To Operator
POST
Role Set Enterprise User Management Delegated To Operator
POST
Role Set Enterprise View Sensitive Data Delegated To Enterprise Proxy
POST
Role Set Enterprise View Sensitive Data Delegated To Operator