younifyd
Menu

Clear an SQL search cursor

Clear an SQL search cursor

POST/_sql/close

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Clear an SQL search cursor action (under sql).
  3. Fill in the fields below, then reference the result from later steps as {{clearAnSqlSearchCursor.response.data}}.

Request

Request body

Enter the body as JSON in the step's Body field.

cursorstringrequired

Cursor to clear.

json
{
  "cursor": "string"
}

Response

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

succeededboolean
json
{
  "succeeded": false
}

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

Clear an SQL search cursor — Elasticsearch — Documentation