Delete snapshot repositories
Added in 0.0.0
When a repository is unregistered, Elasticsearch removes only the reference to the location where the repository is storing the snapshots. The snapshots themselves are left untouched and in place.
Path parameters
-
repository
string | array[string] Required Name of the snapshot repository to unregister. Wildcard (
*
) patterns are supported.
Query parameters
-
master_timeout
string Explicit operation timeout for connection to master node
-
timeout
string Explicit operation timeout
DELETE
/_snapshot/{repository}
curl \
--request DELETE http://api.example.com/_snapshot/{repository} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"acknowledged": true
}