Šajā lapā
ceprule.delete
Description
object ceprule.delete(array cep_ruleids)
This method allows you to delete CEP rules.
This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.
Parameters
(array) IDs of the CEP rules to delete.
Return values
(object) Returns an object containing the IDs of the deleted
CEP rules under the cep_ruleids property.
Example
Delete multiple CEP rules
Delete two CEP rules.
{
"jsonrpc": "2.0",
"method": "ceprule.delete",
"params": [
"3",
"4"
],
"id": 1
}
Response:
{
"jsonrpc": "2.0",
"result": {
"cep_ruleids": [
"3",
"4"
]
},
"id": 1
}
Source
CCepRule::delete() in ui/include/classes/api/services/CCepRule.php.