Question

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

  • Posted November 11, 2019
  • API

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

Subscribe
Share

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

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