[[indices-delete-template]] === Delete index template API ++++ Delete index template ++++ Deletes an <>. //// [source,console] ---- PUT /_index_template/my-index-template { "index_patterns" : ["te*"], "template": { "settings": { "number_of_shards": 1 } } } ---- // TESTSETUP //// [source,console] ---- DELETE /_index_template/my-index-template ---- [[delete-template-api-request]] ==== {api-request-title} `DELETE /_index_template/` The provided may contain multiple template names separated by a comma. If multiple template names are specified then there is no wildcard support and the provided names should match completely with existing templates. [[delete-template-api-prereqs]] ==== {api-prereq-title} * If the {es} {security-features} are enabled, you must have the `manage_index_templates` or `manage` <> to use this API. [[delete-template-api-desc]] ==== {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. [[delete-template-api-path-params]] ==== {api-path-parms-title} include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=index-template] [[delete-template-api-query-params]] ==== {api-query-parms-title} include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]