How can I create droplet using DO API under a particular project?

November 16, 2018 777 views

I am using Python to create droplet using API provided by DIgital Ocean. My account has 2 projects enabled and under both I have some droplets running. Just wanted to know is there any way I can spin up a droplet using API under a particular project name.


1 Answer

You can't currently specify the project during the droplet create API request, but you can use the API to move it into the project after creation.

Have another answer? Share your knowledge.