Deletes a query ruleset Added in 8.10.0

DELETE /_query_rules/{ruleset_id}

Path parameters

  • ruleset_id string Required

    The unique identifier of the query ruleset to delete

Responses

  • 200 application/json
    Hide response attribute Show response attribute object
    • acknowledged boolean Required

      For a successful response, this value is always true. On failure, an exception is returned instead.

DELETE /_query_rules/{ruleset_id}
curl \
 -X DELETE http://api.example.com/_query_rules/{ruleset_id}
Response examples (200)
{
  "acknowledged": true
}