From ccfdaa58988a9c04e6be8d42852692d5e0efcea1 Mon Sep 17 00:00:00 2001 From: James Rodewig <40268737+jrodewig@users.noreply.github.com> Date: Thu, 1 Jul 2021 10:28:10 -0400 Subject: [PATCH] [DOCS] Fix param def for delete index API (#74674) (#74835) Clarifies that you cannot specify an alias in the delete index API. You _can_ delete indices with an alias. Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> Co-authored-by: Liam MacPherson <11508628+LiamMacP@users.noreply.github.com> --- docs/reference/indices/delete-index.asciidoc | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/docs/reference/indices/delete-index.asciidoc b/docs/reference/indices/delete-index.asciidoc index 69cc8d7b33a3a..1e081eba62da0 100644 --- a/docs/reference/indices/delete-index.asciidoc +++ b/docs/reference/indices/delete-index.asciidoc @@ -30,17 +30,14 @@ or `manage` <> for the target index. ``:: + -- -(Request, string) Comma-separated list or wildcard expression of indices to -delete. - -In this parameter, wildcard expressions match only open, concrete indices. You -cannot delete an index using an <>. - -To delete all indices, use `_all` or `*` . To disallow the deletion of indices -with `_all` or wildcard expressions, change the -`action.destructive_requires_name` cluster setting to `true`. You can update -this setting in the `elasticsearch.yml` file or using the -<> API. +(Required, string) Comma-separated list of indices to delete. You cannot specify +<>. + +By default, this parameter does not support wildcards (`*`) or `_all`. To use +wildcards or `_all`, change the `action.destructive_requires_name` setting to +`false`. You can update this setting in the `elasticsearch.yml` file or using +the <> API. Wildcard patterns +only match open, concrete indices. NOTE: You cannot delete the current write index of a data stream. To delete the index, you must <> the data stream so a new