Clean up the snapshot repository

  • POST /_snapshot/{repository}/_cleanup

Trigger the review of the contents of a snapshot repository and delete any stale data not referenced by existing snapshots.

  • Cluster privileges: manage
Read the reference documentation

Path Parameters

repository string Name required

The name of the snapshot repository to clean up.

Response