Get legacy index templates
Deprecated
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.
Path parameters
-
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*
.
GET
/_template/{name}
curl \
--request GET 'http://api.example.com/_template/{name}' \
--header "Authorization: $API_KEY"