Browse Source

[DOCS] Fix <index> param def for delete index API (#74674)

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>
Liam MacPherson 4 years ago
parent
commit
ba227f99f0
1 changed files with 8 additions and 11 deletions
  1. 8 11
      docs/reference/indices/delete-index.asciidoc

+ 8 - 11
docs/reference/indices/delete-index.asciidoc

@@ -30,17 +30,14 @@ or `manage` <<privileges-list-indices,index privilege>> for the target index.
 `<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 <<alias,alias>>.
-
-By default, you must explicitly name the indices you are deleting.
-To specify indices to delete with `_all`, `*`, or other wildcard
-expressions, change the `action.destructive_requires_name` setting to `false`.
-You can update this setting in the `elasticsearch.yml` file or using the
-<<cluster-update-settings,cluster update settings>> API.
+(Required, string) Comma-separated list of indices to delete. You cannot specify
+<<alias,index aliases>>.
+
+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 <<cluster-update-settings,cluster update settings>> 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 <<data-streams-rollover,roll over>> the data stream so a new