Delete Snapshots API to delete "older than custom date" snapshots?

I've been googling ways to delete older snapshots in our repository. I have found posts on deleting snaphsots via curator but I'm more interested in a one-time aPI call that can function similar to delete by query for deleting snapshots older than a specific date . Can someone suggest how I can go about by this? I don't really want to write a script that cats snapshots, sorts and then deletes (one of the work arounds I thought of)

There are no easy paths to doing that with snapshots using the API. Have you considered the curator_cli singleton approach for this?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.