Spaces method and path for this operation:
delete /s/{space_id}/api/data_views/data_view/{viewId}/runtime_field/{fieldName}
Refer to Spaces for more information.
Delete a runtime field from a data view.
DELETE
/api/data_views/data_view/{viewId}/runtime_field/{fieldName}
curl
curl \
-X DELETE "${KIBANA_URL}/api/data_views/data_view/${DATA_VIEW_ID}/runtime_field/${FIELD_NAME}" \
-H "Authorization: ApiKey ${API_KEY}" \
-H "kbn-xsrf: true"
DELETE kbn://api/data_views/data_view/{viewId}/runtime_field/{fieldName}
Response examples (404)
The requested data view or runtime field was not found in the current Kibana space.
{
"error": "Not Found",
"message": "Saved object [index-pattern/caaad6d0-920c-11ed-b36a-874bd1548a00] not found",
"statusCode": 404
}