deleteCustomRule
Method to delete a custom rule.
Parameters
Parameter | Type | Optional | Description |
---|---|---|---|
| Number | No | The type of the rule to be deleted. Possible values: 1 - Detection, 2 - Exclusion |
| String | No | The Id of the rule to be deleted |
Return value
This method returns a boolean value which is True if the creation of the custom rule was successful.
Example
Request:
{ "params": { "ruleId": "6182a7e26f59d3072a1e8fc5", "type": 1 }, "jsonrpc": "2.0", "method": "deleteCustomRule", "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810" }
Response:
{ "id": "0df7568c-59c1-48e0-a31b-18d83e6d9810", "jsonrpc": "2.0", "result": true }