From 950e9e9a2ddaac75e326c3f0c318cc6b773bcfe8 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 4 Jan 2024 15:46:05 +0000 Subject: [PATCH] Fixes get file API typo (#4526) (#4562) (cherry picked from commit 7cdb208e3fb9cbe4a8bfd1584326bb6bcbb2044e) Co-authored-by: natasha-moore-elastic <137783811+natasha-moore-elastic@users.noreply.github.com> --- docs/management/api/get-file-api.asciidoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/management/api/get-file-api.asciidoc b/docs/management/api/get-file-api.asciidoc index f47f4ef034..cc0299f14f 100644 --- a/docs/management/api/get-file-api.asciidoc +++ b/docs/management/api/get-file-api.asciidoc @@ -7,7 +7,7 @@ You must have the `File Operations` {kib} privilege in the Security feature as p ==== Request URL -`POST :/api/endpoint/action/get-file` +`POST :/api/endpoint/action/get_file` ==== Request body @@ -31,7 +31,7 @@ Retrieve a file `/usr/my-file.txt` on a host with an `endpoint_id` value of `ed5 [source,sh] -------------------------------------------------- -POST /api/endpoint/action/get-file +POST /api/endpoint/action/get_file { "endpoint_ids": ["ed518850-681a-4d60-bb98-e22640cae2a8"], "parameters": {