Skip to main content
Version: 0.13.0

Delete Snapshot

Delete snapshot​

Introduced 0.1.0

Deletes a snapshot from a repository.

Path parameters​

ParameterData typeDescription
repositoryStringRepostory that contains the snapshot.
snapshotStringSnapshot to delete.

Example request​

The following request deletes a snapshot called my-first-snapshot from the my-lucenia-repo repository:

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

Example response​

Upon success, the response returns the following JSON object:

{
"acknowledged": true
}
note

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