OpenSearch/docs/java-rest/high-level/indices/delete_template.asciidoc

32 lines
925 B
Plaintext
Raw Normal View History

--
:api: delete-template
:request: DeleteIndexTemplateRequest
:response: AcknowledgedResponse
--
[id="{upid}-{api}"]
=== Delete Template API
[id="{upid}-{api}-request"]
==== Request
The Delete Template API allows you to delete an index template.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-request]
--------------------------------------------------
<1> The name of an index template to delete.
[id="{upid}-{api}-response"]
==== Response
The returned +{response}+ indicates if the delete template request was received.
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{doc-tests-file}[{api}-response]
--------------------------------------------------
<1> Whether or not the delete template request was acknowledged.
include::../execution.asciidoc[]