Path parameters
-
repository
string Required A repository name
-
snapshot
string Required A comma-separated list of snapshot names
Query parameters
-
master_timeout
string Explicit operation timeout for connection to master node
DELETE
/_snapshot/{repository}/{snapshot}
curl \
--request DELETE 'http://api.example.com/_snapshot/{repository}/{snapshot}' \
--header "Authorization: $API_KEY"
Response examples (200)
A successful response from `DELETE /_snapshot/my_repository/snapshot_2,snapshot_3`. The request deletes `snapshot_2` and `snapshot_3` from the repository named `my_repository`.
{
"acknowledged" : true
}