How to programmatically cancel a running snapshot on Elastic Cloud

I have cron jobs configured which delete old indices. I just noticed that some of these curl commands are failing with the below message:

"Cannot delete indices that are being snapshotted: [[...]]. Try again after snapshot finishes or cancel the currently running snapshot."

How can I cancel any currently-running snapshots so that my index deletion can go through? This is on Elastic Cloud.

Thank you

1 Like

Bump

Thank you

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