Deletes one or more data streams and their backing indices. ##Required authorization
- Index privileges:
delete_index
Path parameters
-
Comma-separated list of data streams to delete. Wildcard (
*) expressions are supported.
Query parameters
-
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.
Values are
-1or0. -
Type of data stream that wildcard patterns can match. Supports comma-separated values,such as
open,hidden.Values are
all,open,closed,hidden, ornone.
DELETE
/_data_stream/{name}
Console
DELETE _data_stream/my-data-stream
curl \
--request DELETE 'http://api.example.com/_data_stream/{name}'