API for on demand snapshots

I can see that through UI you can create an on-demand snapshot.

But is there also an api to do it ?

Yes! The Docs have yet to be updated though.

I was by coincidence trying this out today.

POST https://{OPSMANAGER-HOST}:{PORT}/api/public/v1.0/groups/{PROJECT-ID}/clusters/{CLUSTER-ID}/snapshots/onDemandSnapshot?retentionDays=10

2 Likes

Thanks a lot @chris you’re a life saver !!

1 Like

You’re welcome. I’ll update my reply with the documentation link once it is updated.

2 Likes

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