v53

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

Preview swap references

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/swap_references/_preview</span></div>

Refer to Spaces for more information.

Preview the effect of swapping saved object references from one data view to another. Returns the list of affected saved objects without making any changes.

post/api/data_views/swap_references/_preview

Headers

kbn-xsrfstring required

Cross-site request forgery protection

Request body

deleteboolean

Deletes referenced saved object if all references are removed.

forTypestring

Limit the affected saved objects by type.

fromIdstring required

The saved object reference to change.

fromTypestring

Specify the type of the saved object reference to alter. The default value is index-pattern for data views.

toIdstring required

New saved object reference value to replace the old value.

Response

Indicates a successful call.