From 00a3dcc69be8536dcd2a6477f30a7e87182403bd Mon Sep 17 00:00:00 2001 From: Fanit Kolchina Date: Sat, 29 Oct 2022 16:13:13 -0400 Subject: [PATCH 1/2] Adds to templates API Signed-off-by: Fanit Kolchina --- _opensearch/index-templates.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/_opensearch/index-templates.md b/_opensearch/index-templates.md index 9529d4064b..341553e85d 100644 --- a/_opensearch/index-templates.md +++ b/_opensearch/index-templates.md @@ -10,10 +10,11 @@ Index templates let you initialize new indexes with predefined mappings and sett ### Create a template -To create an index template, use a POST request: +To create an index template, use a PUT or POST request: ```json -POST _index_template +PUT _index_template/