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

Posted November 16, 2018 3.6k 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.


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.

Submit an Answer
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.