Delete Object

edit

This functionality is experimental and may be changed or removed completely in a future release.

The delete saved object API permanently removes a Kibana saved object. Once a saved object has been deleted, it cannot be recovered.

Note: You cannot access this endpoint via the Console in Kibana.

Request

edit

DELETE /api/saved_objects/<type>/<id>

Path Parameters

edit
type (required)
(string) Valid options, include: visualization, dashboard, search, index-pattern, config, and timelion-sheet
id (required)
(string) Object ID being removed

Examples

edit

The following example deletes an index pattern object with an ID of my-pattern

DELETE api/saved_objects/index-pattern/my-pattern

A successful call returns a response code of 200.