[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).
This commit is contained in:
Nick Peihl 2023-04-03 16:02:26 -04:00 committed by GitHub
parent 234d48d9bc
commit 95d4820592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,7 +62,7 @@ Update a title of the `<my-view>` 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": "...",