Delete a saved object

Base URL
https://{kibana_url}
Auth Deprecated
Warning

This API is deprecated. This is a legacy Saved Objects API and may be removed in a future version of Kibana.

Deletes a single Kibana saved object by type and ID.

There is currently no complete replacement for deleting arbitrary saved objects via an HTTP API.

Path parameters

space_id string optional

An identifier for the space. If space_id is not provided in the URL, the default space is used. Refer to Spaces for more information.

type string · max length: 256 required

The saved object type.

id string · max length: 512 required

The saved object identifier.

Query parameters

force boolean

When true, force deletion of multi-namespace objects from all namespaces.

Header parameters

kbn-xsrf string required

A required header to protect against CSRF attacks

Responses

200

A successful delete response.

application/json
404

Not found.

application/json
Base URL
https://{kibana_url}