Question

I'm creating Droplet using API. How to add Droplet to certain project?

Posted November 11, 2019 614 views
API

I’m creating Droplet using API. How to add Droplet to certain project?

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.

×
1 answer

Hello,

I don’t think that is currently possible. Basically 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:

https://developers.digitalocean.com/documentation/changelog/api-v2/introducing-the-projects-api-beta/

Hope that this helps!
Regards,
Bobby

Submit an Answer