Check existence of index templates

  • HEAD /_template/{name}

Get information about whether index templates exist. Index templates define settings, mappings, and aliases that can be applied automatically to new indices.

IMPORTANT: This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in Elasticsearch 7.8.

  • Cluster privileges: manage_index_templates
Read the reference documentation

Path Parameters

name union Name | [] Name required

A comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported.

Response

200 application/json