I can see that there is an array for backup_ids in a hash for a droplet, but before there are any backups, is there a way to tell if backups are enabled via the API? An entry with a logical true/false would be nice.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
There’s a features array near the end of the droplet object that you can check even before the first backup has been taken. If backups are enabled, it will be listed as an element in that array, the same as private_networking, ipv6, and virtio too (although Virtio is enabled by default for all new droplets, it was optional at one time). You can see a sample response body in the API call to retrieve a droplet by ID.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.