Kibana Data View update API request doesn't work

nilaksha
Fri, 10 Mar 2023 10:17:30 +0000
Kibana

I'm using latest version of 8.6.2 kibana and i need to change the index pattern in kibana Data View to visualize data dynamically. so i have to do it using kibana rest API and found Data View Update API Documentation. but when I run update request on dev tools for existing Data view id, it shows not found error.

here the request sent from dev tools

POST kbn:/api/data_views/data-view/bce27b39-28b9-4f9e-ab15-e92e38140949
{
  "data_view": {
   "title": "insight_*"
  }
}

is there is any way to fix this issue.

7 posts - 4 participants