diff --git a/docs/reference/inference/update-inference.asciidoc b/docs/reference/inference/update-inference.asciidoc index d3a90f5d84e65..441c21629da56 100644 --- a/docs/reference/inference/update-inference.asciidoc +++ b/docs/reference/inference/update-inference.asciidoc @@ -19,9 +19,9 @@ However, if you do not plan to use the {infer} APIs to use these models or if yo [[update-inference-api-request]] ==== {api-request-title} -`POST _inference//_update` +`PUT _inference//_update` -`POST _inference///_update` +`PUT _inference///_update` [discrete] @@ -52,7 +52,7 @@ Click the links to review the service configuration details: * <> (`rerank`, `sparse_embedding`, `text_embedding` - this service is for built-in models and models uploaded through Eland) * <> (`sparse_embedding`) * <> (`completion`, `text_embedding`) -* <> (`rerank`, `text_embedding`) +* <> (`rerank`, `text_embedding`) * <> (`text_embedding`) * <> (`text_embedding`) * <> (`completion`, `text_embedding`) @@ -81,7 +81,7 @@ The following example shows how to update an API key of an {infer} endpoint call [source,console] ------------------------------------------------------------ -POST _inference/my-inference-endpoint/_update +PUT _inference/my-inference-endpoint/_update { "service_settings": { "api_key": ""