From 96ada947238974a159781013519fe8398593aecc Mon Sep 17 00:00:00 2001 From: Alex S Date: Wed, 3 Jan 2024 15:07:21 +0100 Subject: [PATCH] Change POST to PUT and _security to security for API example (#173453) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Summary Just a small Doc Update. In the first example a POST was used and towards a non existing handle (`_security` instead of `security`) In the basic license example posted below this one, this is already correct. ### Checklist All checked - none applied. (Though first PR in this repository, I am sorry if any mistakes were made. If so - please point them out, will do better next time 😅 ) --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- docs/setup/configuring-reporting.asciidoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/setup/configuring-reporting.asciidoc b/docs/setup/configuring-reporting.asciidoc index d8ff9e1b202b6..5828c740d1254 100644 --- a/docs/setup/configuring-reporting.asciidoc +++ b/docs/setup/configuring-reporting.asciidoc @@ -116,7 +116,7 @@ With <> enabled in Reporting, y NOTE: This link:https://www.elastic.co/guide/en/kibana/current/role-management-api-put.html[API request] needs to be executed against the link:https://www.elastic.co/guide/en/kibana/current/api.html[Kibana API endpoint]. [source, sh] --------------------------------------------------------------- -POST :/api/_security/role/custom_reporting_user +PUT :/api/security/role/custom_reporting_user { "elasticsearch": { "cluster": [],