younifyd
Menu

Close a point in time

Close a point in time

DELETE/_pit

Use it in a workflow

  1. Add a step and choose the Elasticsearch connector.
  2. Pick the Close a point in time action (under search).
  3. Fill in the fields below, then reference the result from later steps as {{closeAPointInTime.response.data}}.

Request

Request body

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

idanyrequired

The ID of the point-in-time.

json
{
  "id": null
}

Response

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

succeededboolean

If `true`, all search contexts associated with the point-in-time ID were successfully closed.

num_freednumber

The number of search contexts that were successfully closed.

json
{
  "succeeded": false,
  "num_freed": 0
}

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