A question can only have one accepted answer. Are you sure you want to replace the current answer with this one?
You previously marked this answer as accepted. Are you sure you want to unaccept it?
Write for DigitalOcean
You get paid, we donate to tech non-profits.
Find and meet other developers in your city.
Contribute to Open Source
I have gone through the api documentation but i couldn’t get any solution.
Add comments here to get more clarity or context around a question. To answer a question, use the “Answer” field below.
I don’t believe that this is yet possible. But there is already an idea shared here that you could vote for and support:
Centos 7 droplet with freshly upgraded do-agent. How do I troubleshoot do-agent to resolve this?
If a volume is mounted to a Droplet, and the Droplet is on, I can check how much space is used using the df command. But if the Droplet is off, or experiencing some issue that prevents me from logging in and running df, is there some other way to check how much space is used? The API only seems to show the total size of the Volume.
In DO there are four types of droplets: Standard, General Purpose, CPU Optimized, and Memory Optimized droplet.
Is it possible to create and delete "General Purpose" droplet via API?
If yes, are there samples on how to do it?
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?