Delete data streams Added in 7.9.0
Deletes one or more data streams and their backing indices.
Path parameters
-
Comma-separated list of data streams to delete. Wildcard (
*
) expressions are supported.
Query parameters
-
master_timeout string
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
-
expand_wildcards string | array[string]
Type of data stream that wildcard patterns can match. Supports comma-separated values,such as
open,hidden
.
DELETE /_data_stream/{name}
curl \
-X DELETE http://api.example.com/_data_stream/{name}
Response examples (200)
{
"acknowledged": true
}