Get index template (legacy)
Important
|
This documentation is about legacy index templates, which are deprecated and will be replaced by the composable templates introduced in {es} 7.8. For information about composable templates, see [index-templates]. |
Retrieves information about one or more index templates.
GET /_template/template_1
-
If the {es} {security-features} are enabled, you must have the
manage_index_templates
ormanage
cluster privilege to use this API.
+
To return all index templates, omit this parameter
or use a value of _all
or *
.