[[indices-delete-component-template]] === Delete component template API ++++ Delete component template ++++ Deletes an existing component template. //// [source,console] -------------------------------------------------- PUT _component_template/template_1 { "template": { "settings": { "index.number_of_replicas": 0 } } } -------------------------------------------------- // TESTSETUP //// [source,console] -------------------------------------------------- DELETE _component_template/template_1 -------------------------------------------------- [[delete-component-template-api-request]] ==== {api-request-title} `DELETE /_template/` [[delete-component-template-api-desc]] ==== {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. [[delete-component-template-api-path-params]] ==== {api-path-parms-title} include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=component-template] [[delete-component-template-api-query-params]] ==== {api-query-parms-title} include::{es-repo-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]