Clear a scrolling search
Clear the search context and results for a scrolling search.
Path parameters
-
scroll_id
string | array[string] Required Deprecated A comma-separated list of scroll IDs to clear. To clear all scroll IDs, use
_all
. IMPORTANT: Scroll IDs can be long. It is recommended to specify scroll IDs in the request body parameter.
DELETE
/_search/scroll/{scroll_id}
curl \
--request DELETE http://api.example.com/_search/scroll/{scroll_id} \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '{"":"string"}'
Request examples
{
"": "string"
}
Response examples (200)
{
"succeeded": true,
"num_freed": 42.0
}