Role Delete Role Customization

Role Delete Role Customization

Deletes the specified role customization (by name or forRoleId).

Privileges required:

UPDATE NETWORK

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

Show optional properties

{
    "forRoleId": 0
}
{
    "forRoleId": 0,
    "name": "string",
    "userId": 0,
    "enterpriseId": 0,
    "operatorId": 0,
    "networkId": 0
}
integer
forRoleId
Required

forRoleId

string
name
Optional

name

integer
userId
Optional

userId

integer
enterpriseId
Optional

enterpriseId

integer
operatorId
Optional

operatorId

integer
networkId
Optional

networkId

Responses
200

Request was successfully processed

Returns role_delete_role_customization_result of type(s) application/json
This response body class contains all of the following: Inlinerole_delete_role_customization_result0
{
    "id": 123,
    "rows": 1
}

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