Delete data streams
Added in 7.9.0
Deletes one or more data streams and their backing indices.
Path parameters
-
name
string | array[string] Required 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 \
--request DELETE http://api.example.com/_data_stream/{name} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}