younifyd
Menu

Delete a query ruleset

Delete a query ruleset

DELETE/_query_rules/{ruleset_id}

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Delete a query ruleset action (under query_rules).
  3. Fill in the fields below, then reference the result from later steps as {{deleteAQueryRuleset.response.data}}.

Request

Path parameters

ruleset_idstringrequired

The unique identifier of the query ruleset to delete

Response

Returns 200 with an object. Read it in later steps with {{deleteAQueryRuleset.response.data.<field>}}.

acknowledgedboolean

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

json
{
  "acknowledged": false
}

Need more? See the Elasticsearch guide for connection setup and behaviour shared by every action.

Delete a query ruleset — Elasticsearch — Documentation