IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete data stream API
editDelete data stream API
editDeletes one or more data streams and their backing indices. See Delete a data stream.
DELETE /_data_stream/my-data-stream
Request
editDELETE /_data_stream/<data-stream>
Prerequisites
edit-
If the Elasticsearch security features are enabled, you must have the
delete_index
ormanage
index privilege for the data stream.
Path parameters
edit-
<data-stream>
-
(Required, string)
Comma-separated list of data streams to delete.
Wildcard (
*
) expressions are supported.