|
@@ -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
|