[[reference-cluster-delete_component_template]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// [discrete] === client.cluster.deleteComponentTemplate Delete component templates. Deletes component templates. Component templates are building blocks for constructing index templates that specify index mappings, settings, and aliases. {ref}/indices-component-template.html[{es} documentation] [discrete] ==== Function signature [source,ts] ---- (ClusterDeleteComponentTemplateRequest, options?): Promise ---- [discrete] ===== `ClusterDeleteComponentTemplateRequest` [source,ts] ---- interface ClusterDeleteComponentTemplateRequest extends <> { name: <> master_timeout?: <> timeout?: <> } ---- [discrete] ===== `ClusterDeleteComponentTemplateResponse` [source,ts] ---- type ClusterDeleteComponentTemplateResponse = <> ----