Skip to content

Files

Latest commit

 

History

History
99 lines (70 loc) · 2.45 KB

get-index-template-v1.asciidoc

File metadata and controls

99 lines (70 loc) · 2.45 KB

Get index template API

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

{api-request-title}

GET /_template/<index-template>

{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-path-parms-title}

+ To return all index templates, omit this parameter or use a value of _all or *.

{api-examples-title}

Get multiple index templates
GET /_template/template_1,template_2
Get index templates using a wildcard expression
GET /_template/temp*
Get all index templates
GET /_template