Clear a scrolling search

DELETE /_search/scroll/{scroll_id}

Clear the search context and results for a scrolling search.

Path parameters

  • scroll_id string | array[string] Required

    Comma-separated list of scroll IDs to clear. To clear all scroll IDs, use _all.

application/json

Responses

DELETE /_search/scroll/{scroll_id}
curl \
 -X DELETE http://api.example.com/_search/scroll/{scroll_id} \
 -H "Content-Type: application/json" \
 -d '{"":"string"}'