Delete Composite Roles By Operator

Delete Composite Roles By Operator

Deletes composite role with the given role Ids

Privileges required:

DELETE OPERATOR_SCOPED_ROLE

Request
URI
POST
https://{api_host}/portal/rest/compositeRole/deleteByOperator
COPY
Request Body
{
    "roleIds": [
        0
    ],
    "networkId": 0
}
array of integer
roleIds
Optional

roleIds

integer
networkId
Optional

networkId

Responses
200

Request was successfully processed

Operation doesn't return any data structure

400

Invalid Request: Please check your request schema

Returns generic_400 of type(s) application/json
{
    "error": {
        "code": -32600,
        "message": "An error occurred while processing your request",
        "data": {
            "valid": false,
            "error": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ],
            "warning": [
                {
                    "code": "string",
                    "message": "string",
                    "path": "string"
                }
            ]
        }
    }
}

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/compositeRole/deleteByOperator