Report this

What is the reason for this report?

how to retrieve an existing droplet using api v2 from multiple droplets

Posted on June 8, 2015

Hi everyone…

i have a few of droplet, i want to retrieve existing droplet from what i selected

to retrieve an existing one droplet im using this and it’s working https://api.digitalocean.com/v2/droplets/droplet_id

how to retrieve an existing droplet using api v2 from multiple droplets ? example: droplet1 droplet3 droplet7



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

If you do not already have the droplet’s ID stored you can use the endpoint /v2/droplets which will give you the basic details of all your droplets. The ID returned there can then be used to perform actions on the droplet it represents.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.