Delete a data view Beta
WARNING: When you delete a data view, it cannot be recovered.
Path parameters
-
An identifier for the data view.
DELETE /api/data_views/data_view/{viewId}
curl \
-X DELETE https://<KIBANA_URL>/api/data_views/data_view/ff959d40-b880-11e8-a6d9-e546fe2bba5f \
-H "kbn-xsrf: string"
Response examples (404)
{
"error": "Not Found",
"message": "Saved object [index-pattern/caaad6d0-920c-11ed-b36a-874bd1548a00] not found",
"statusCode": 404
}