kolchfa-aws 63019c421d
Puts column headers in sentence case (#1989)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2022-11-18 15:25:06 -05:00

1.2 KiB

layout title parent nav_order
default Delete Snapshot Snapshot APIs 7

Delete snapshot

Deletes a snapshot from a repository.

Path parameters

Parameter Data type Description
repository String Repostory that contains the snapshot.
snapshot String Snapshot to delete.

Sample request

The following request deletes a snapshot called my-first-snapshot from the my-opensearch-repo repository.

DELETE _snapshot/my-opensearch-repo/my-first-snapshot

Sample response

Upon success, the response returns the following JSON object:

{
  "acknowledged": true
}

To verify that the snapshot was deleted, use the Get snapshot API, passing the snapshot name as the snapshot path parameter. {: .note}