response = client.indices.delete_data_stream( name: 'my-data-stream' ) puts response
If the Elasticsearch security features are enabled, you must have the
manageindex privilege for the data stream.
Comma-separated list of data streams to delete.
*) expressions are supported.
(Optional, string) Type of data stream that wildcard patterns can match. Supports comma-separated values, such as
open,hidden. Valid values are:
- Match any data stream, including hidden ones.
- Matches any non-hidden data stream. Data streams cannot be closed.
- Wildcard patterns are not accepted.