data-views-v2
Create a data view
Spaces method and path for this operation:
<div><span class="operation-verb post">post</span> <span class="operation-path">/s/{space_id}/api/data_views/v2</span></div>Refer to Spaces for more information.
Creates a data view and returns it. Kibana generates the data view ID. If a data view with the same name already exists, the request fails with a conflict.<br/><br/>[Required authorization] Route required privileges: indexPatterns:manage.
post/api/data_views/v2
Request
- Base URLhttps://localhost:5601
- URLhttps://localhost:5601/api/data_views/v2
- Auth
- API key in header Authorization
- or HTTP basic
Headers
kbn-xsrfstring required
Example:true
A required header to protect against CSRF attacks
Request body
Response
The data view was created.
Changes
No operation changes recorded.