| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 | [[indices-delete-template-v1]]=== Delete index template API++++<titleabbrev>Delete index template (legacy)</titleabbrev>++++IMPORTANT: This documentation is about <<indices-templates-v1,legacy indextemplates>>, which are deprecated and will be replaced by the composabletemplates introduced in {es} 7.8. For information about composable templates,<<indices-templates>>.Deletes a legacy index template.////[source,console]--------------------------------------------------PUT _template/my-legacy-index-template{ "index_patterns" : ["te*"],  "settings": {    "number_of_shards": 1  }}--------------------------------------------------// TESTSETUP////[source,console]--------------------------------------------------DELETE /_template/my-legacy-index-template--------------------------------------------------[[delete-template-api-v1-request]]==== {api-request-title}`DELETE /_template/<legacy-index-template>`[[delete-template-api-v1-path-params]]==== {api-path-parms-title}`<legacy-index-template>`::(Required, string)Comma-separated list of legacy index templates to delete. Wildcard (`*`)expressions are supported.[[delete-template-api-v1-query-params]]==== {api-query-parms-title}include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
 |