Recognition

No awards yet.

Posts

1 Posts
  • Published Question

    How can I perform Add to Region and Restore Droplet actions on a backup or snapshot?

    The GUI offers "Add to Region" and "Restore Droplet" for a snapshot. How can I perform those actions on a backup or snapshot through the API?
    Accepted Answer: After you take a snapshot of a Droplet, you can find the ID of that snapshot via the API by querying the /v2/images?private=true endpoint (https://developers.digitalocean.com/documentation/v2/#list-a-user-s-images). ...
    1 By csabatothus DigitalOcean API and CLI (doctl)