Delete object APIedit

[experimental] This functionality is experimental and may be changed or removed completely in a future release. Elastic will take a best effort approach to fix any issues, but experimental features are not subject to the support SLA of official GA features. Remove a Kibana saved object.

Warning

Once you delete a saved object, 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) The object ID that you want to remove.

Response codeedit

200
Indicates a successful call.

Examplesedit

Delete an index pattern object with the my-pattern ID:

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