Set the default data view
POST
/api/data_views/default
curl \
-X POST https://localhost:5601/api/data_views/default \
-H "Content-Type: application/json; Elastic-Api-Version=2023-10-31" \
-H "kbn-xsrf: string"
Request example
{
"force": true,
"data_view_id": "ff959d40-b880-11e8-a6d9-e546fe2bba5f"
}
Response examples (200)
{
"acknowledged": true
}
Response examples (400)
{
"error": "Bad Request",
"message": "string",
"statusCode": 400
}