Delete a query rule Added in 8.15.0
Delete a query rule within a query ruleset.
Path parameters
-
The unique identifier of the query ruleset containing the rule to delete
-
The unique identifier of the query rule within the specified ruleset to delete
DELETE
/_query_rules/{ruleset_id}/_rule/{rule_id}
curl \
-X DELETE http://api.example.com/_query_rules/{ruleset_id}/_rule/{rule_id}
Response examples (200)
{
"acknowledged": true
}