Clear a scrolling search

DELETE /_search/scroll

Clear the search context and results for a scrolling search.

application/json

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • succeeded boolean Required

      If true, the request succeeded. This does not indicate whether any scrolling search requests were cleared.

    • num_freed number Required

      The number of scrolling search requests cleared.

DELETE /_search/scroll
curl \
 --request DELETE http://api.example.com/_search/scroll \
 --header "Authorization: $API_KEY" \
 --header "Content-Type: application/json" \
 --data '{"":"string"}'
Request examples
{
  "": "string"
}
Response examples (200)
{
  "succeeded": true,
  "num_freed": 42.0
}