Role Remove Enterprise Custom Roles
Removes role customizations in the system to restore to system default.
Privileges required:
MODIFY_ENTERPRISE_CUSTOM_ROLES
undefined
Request
URI
POST
https://{api_host}/portal/rest/role/removeEnterpriseCustomRoles
COPY
Request Body
{
"networkId": 0,
"enterpriseId": 0
}
integer
networkId
Required
networkId
integer
enterpriseId
Required
enterpriseId
Responses
200
Request was successfully processed
Returns
deletion_confirmation
of type(s)
application/json
{
"id": 123,
"rows": 1
}
integer
id
Optional
The id of the deleted object.
string
error
Optional
An error message explaining why the method failed
integer
rows
Required
The number of rows modified
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"networkId:"integer","enterpriseId:"integer"}' https://{api_host}/portal/rest/role/removeEnterpriseCustomRoles