# Delete a query ruleset **DELETE /_query_rules/{ruleset_id}** Remove a query ruleset and its associated data. This is a destructive action that is not recoverable. ## Required authorization * Cluster privileges: `manage_search_query_rules` ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Api key auth - Basic auth - Bearer auth ## Parameters ### Path parameters - **ruleset_id** (string) The unique identifier of the query ruleset to delete ## Responses ### 200 #### Body: application/json (object) - **acknowledged** (boolean) For a successful response, this value is always true. On failure, an exception is returned instead. [Powered by Bump.sh](https://bump.sh)