Delete snapshot repositories
Generally available; 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.
Required authorization
- Cluster privileges:
manage
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
Values are
-1
or0
. -
timeout
string Explicit operation timeout
Values are
-1
or0
.
DELETE
/_snapshot/{repository}
curl \
--request DELETE 'http://api.example.com/_snapshot/{repository}' \
--header "Authorization: $API_KEY"