v53

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-076771,7565.2 MB
data views

Set the default data view

Spaces method and path for this operation:

<div><span class="operation-verb post">post</span>&nbsp;<span class="operation-path">/s/{space_id}/api/data_views/default</span></div>

Refer to Spaces for more information.

Set the default data view for the current Kibana space. The default data view is used as a fallback when no specific data view is selected.

post/api/data_views/default

Headers

kbn-xsrfstring required

Cross-site request forgery protection

Request body

data_view_idstring nullable required

The data view identifier. NOTE: The API does not validate whether it is a valid identifier. Use null to unset the default data view.

forceboolean

Update an existing default data view identifier.

Response

Indicates a successful call.

acknowledgedboolean