Delete Objectedit

Warning

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.

Requestedit

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

Path Parametersedit

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

Examplesedit

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.