object discoveryruleprototype.delete(array lldRuleIds)
This method allows to delete LLD rule prototypes.
This method is only available to Admin and Super admin user types. Permissions to call the method can be revoked in user role settings. See User roles for more information.
(array)
IDs of the LLD rule prototypes to delete.
(object)
Returns an object containing the IDs of the deleted LLD rule prototypes under the ruleids
property.
Delete two LLD rule prototypes.
{
"jsonrpc": "2.0",
"method": "discoveryruleprototype.delete",
"params": [
"47252",
"47253"
],
"id": 1
}
Response:
CDiscoveryRulePrototype::delete() in ui/include/classes/api/services/CDiscoveryRulePrototype.php.