IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Delete object API
editDelete object API
edit[preview] This functionality is in technical preview and may be changed or removed in a future release. Elastic will work to fix any issues, but features in technical preview are not subject to the support SLA of official GA features. Remove a Kibana saved object.
Once you delete a saved object, it cannot be recovered.
Request
editDELETE /api/saved_objects/<type>/<id>
DELETE /s/<space_id>/api/saved_objects/<type>/<id>
Path parameters
edit-
space_id
-
(Optional, string) An identifier for the space. If
space_id
is not provided in the URL, the default space is used. -
type
-
(Required, string) Valid options include
visualization
,dashboard
,search
,index-pattern
,config
, andtimelion-sheet
. -
id
- (Required, string) The object ID that you want to remove.
Response code
edit-
200
- Indicates a successful call.
Examples
editDelete an index pattern object with the my-pattern
ID:
DELETE api/saved_objects/index-pattern/my-pattern