From ade08027e83f05c5da7d8ba95925dcecf96066c9 Mon Sep 17 00:00:00 2001 From: Nick Peihl Date: Mon, 3 Apr 2023 16:02:26 -0400 Subject: [PATCH] [Docs] Fix curl examples in update data view api docs (#153292) ## Summary Fixes typos in the curl examples in the Update data views API docs. [Reported by a community user](https://discuss.elastic.co/t/kibana-data-view-update-api-request-doesnt-work/327435/5). (cherry picked from commit 95d48205924474153735ffa6a9a21e6d34b29ac3) --- 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 c1473b8f7079b..d25d456798a8b 100644 --- a/docs/api/data-views/update.asciidoc +++ b/docs/api/data-views/update.asciidoc @@ -61,7 +61,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-*" @@ -74,7 +74,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": { @@ -89,7 +89,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": "...",