Triggers the review of a snapshot repository’s contents and deletes any stale data not referenced by existing snapshots Added in 7.4.0
Path parameters
-
Snapshot repository to clean up.
Query parameters
-
master_timeout string
Period to wait for a connection to the master node.
-
timeout string
Period to wait for a response.
POST /_snapshot/{repository}/_cleanup
curl \
-X POST http://api.example.com/_snapshot/{repository}/_cleanup
Response examples (200)
{
"results": {
"deleted_blobs": 42.0,
"deleted_bytes": 42.0
}
}