From 39ad965f8d8faa5b3f3abef51ff1796e6feddbf1 Mon Sep 17 00:00:00 2001 From: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Date: Mon, 3 Apr 2023 16:25:21 -0400 Subject: [PATCH] [8.6] [Docs] Fix curl examples in update data view api docs (#153292) (#154284) # Backport This will backport the following commits from `main` to `8.6`: - [[Docs] Fix curl examples in update data view api docs (#153292)](https://github.com/elastic/kibana/pull/153292) ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) Co-authored-by: Nick Peihl --- docs/api/data-views/update.asciidoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/api/data-views/update.asciidoc b/docs/api/data-views/update.asciidoc index 790656e6d6057..4c8cd9a6b9db0 100644 --- a/docs/api/data-views/update.asciidoc +++ b/docs/api/data-views/update.asciidoc @@ -62,7 +62,7 @@ Update a title of the `` data view: [source,sh] -------------------------------------------------- -$ curl -X POST api/data_views/data-view/my-view +$ curl -X POST api/data_views/data_view/my-view { "data_view": { "title": "some-other-view-*" @@ -75,7 +75,7 @@ Customize the update behavior: [source,sh] -------------------------------------------------- -$ curl -X POST api/data_views/data-view/my-view +$ curl -X POST api/data_views/data_view/my-view { "refresh_fields": true, "data_view": { @@ -90,7 +90,7 @@ All update fields are optional, but you can specify the following fields: [source,sh] -------------------------------------------------- -$ curl -X POST api/data_views/data-view/my-view +$ curl -X POST api/data_views/data_view/my-view { "data_view": { "title": "...",