Skip to content

Files

Latest commit

86d568f · Dec 31, 2024

History

History
70 lines (52 loc) · 1.65 KB

delete-index-template.asciidoc

File metadata and controls

70 lines (52 loc) · 1.65 KB

Delete index template API

Delete index template
New API reference

For the most up-to-date API details, refer to {api-es}/group/endpoint-indices[Index APIs].

Deletes an index template.

DELETE /_index_template/my-index-template

{api-request-title}

DELETE /_index_template/<index-template>

The provided <index-template> 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.

{api-prereq-title}

  • If the {es} {security-features} are enabled, you must have the manage_index_templates or manage cluster privilege to use this API.

{api-description-title}

Use the delete index template API to delete one or more index templates. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.