From f6184ebdc36700f9538bcfd33497ef4ef0f84b4e Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Wed, 24 Mar 2021 10:51:22 +0100 Subject: [PATCH] Adjust the docs that comma-separated list of names in delete template APIs is not supported (#70649) The delete legacy template API doesn't support comma-separated list of names in any version. For versions 7.12 and before, the delete component API and delete composable index template API don't support comma-separated list of names. From 7.13 and later, the delete component API and delete composable index template API do support comma-separated list of names. Relates to #70094 and #70314 Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com> --- docs/reference/indices/delete-component-template.asciidoc | 8 ++++---- docs/reference/indices/delete-index-template-v1.asciidoc | 3 +-- docs/reference/indices/delete-index-template.asciidoc | 8 ++++---- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/reference/indices/delete-component-template.asciidoc b/docs/reference/indices/delete-component-template.asciidoc index 6857f9ac1e8f3..574b0a550b1d7 100644 --- a/docs/reference/indices/delete-component-template.asciidoc +++ b/docs/reference/indices/delete-component-template.asciidoc @@ -43,14 +43,14 @@ privilege>> to use this API. ==== {api-description-title} Use the delete component template API to delete one or more component templates -Component templates are building blocks for constructing <> -that specify index mappings, settings, and aliases. +Component templates are building blocks for constructing <> +that specify index mappings, settings, and aliases. [[delete-component-template-api-path-params]] ==== {api-path-parms-title} -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=component-template] - +The name of the component template to delete. Wildcard (`*`) +expressions are supported. [[delete-component-template-api-query-params]] ==== {api-query-parms-title} diff --git a/docs/reference/indices/delete-index-template-v1.asciidoc b/docs/reference/indices/delete-index-template-v1.asciidoc index 5efc5424ad000..9db59e8df3f92 100644 --- a/docs/reference/indices/delete-index-template-v1.asciidoc +++ b/docs/reference/indices/delete-index-template-v1.asciidoc @@ -48,10 +48,9 @@ privilege>> to use this API. ``:: (Required, string) -Comma-separated list of legacy index templates to delete. Wildcard (`*`) +The name of the legacy index template to delete. Wildcard (`*`) expressions are supported. - [[delete-template-api-v1-query-params]] ==== {api-query-parms-title} diff --git a/docs/reference/indices/delete-index-template.asciidoc b/docs/reference/indices/delete-index-template.asciidoc index 9157ccc56b142..9d96cbad58a3a 100644 --- a/docs/reference/indices/delete-index-template.asciidoc +++ b/docs/reference/indices/delete-index-template.asciidoc @@ -44,15 +44,15 @@ privilege>> to use this API. ==== {api-description-title} Use the delete index template API to delete one or more index templates. -Index templates define <>, <>, -and <> that can be applied automatically to new indices. +Index templates define <>, <>, +and <> that can be applied automatically to new indices. [[delete-template-api-path-params]] ==== {api-path-parms-title} -include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-template] - +The name of the index template to delete. Wildcard (`*`) +expressions are supported. [[delete-template-api-query-params]] ==== {api-query-parms-title}