Spec-Zone.ru › Elasticsearch 7
›Elasticsearch Guide [7.17] ›REST APIs ›Data stream APIs

Delete data stream API

Deletes one or more data streams and their backing indices. See Delete a data stream.

DELETE /_data_stream/my-data-stream

Request

DELETE /_data_stream/<data-stream>

Prerequisites

  • If the Elasticsearch security features are enabled, you must have the delete_index or manage index privilege for the data stream.

Path parameters

<data-stream>
(Required, string) Comma-separated list of data streams to delete. Wildcard (*) expressions are supported.

Query parameters

expand_wildcards

(Optional, string) Type of data stream that wildcard patterns can match. Supports comma-separated values, such as open,hidden. Valid values are:

all, hidden
Match any data stream, including hidden ones.
open, closed
Matches any non-hidden data stream. Data streams cannot be closed.
none
Wildcard patterns are not accepted.

Defaults to open.

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/indices-delete-data-stream.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API