{
  "query_rules.delete_rule": {
    "documentation": {
      "url": "https://www.elastic.co/guide/en/elasticsearch/reference/8.19/delete-query-rule.html",
      "description": "Delete a query rule"
    },
    "stability": "stable",
    "visibility": "public",
    "headers": {
      "accept": [
        "application/json"
      ]
    },
    "url": {
      "paths": [
        {
          "path": "/_query_rules/{ruleset_id}/_rule/{rule_id}",
          "methods": [
            "DELETE"
          ],
          "parts": {
            "ruleset_id": {
              "type": "string",
              "description": "The unique identifier of the query ruleset this rule exists in"
            },
            "rule_id": {
              "type": "string",
              "description": "The unique identifier of the rule to delete."
            }
          }
        }
      ]
    }
  }
}
