object drule.delete(array discoveryRuleIds)
该方法允许删除发现规则.
(array)
要删除发现规则的ID.
(object)
在druleids
属性下返回包含删除的发现规则的ID对象.
删除两个发现规则.
请求:
{
"jsonrpc": "2.0",
"method": "drule.delete",
"params": [
"4",
"6"
],
"auth": "3a57200802b24cda67c4e4010b50c065",
"id": 1
}
响应:
CDRule::delete() in frontends/php/include/classes/api/services/CDRule.php.