Get legacy index templates

deprecated
  • GET /_template/{name}
  • GET /_template

Get information about one or more index templates.

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
Learn more about templates

Path Parameters

name union Name | [] Name optional

Comma-separated list of index template names used to limit the request. Wildcard (*) expressions are supported. To return all index templates, omit this parameter or use a value of _all or *.

Leave it out to use /_template.

Response