I found php script to create droplet by API but it only creates shared type of droplet… i need to dynamically change slug identifier in API. But i didn’t find any explanation for “Size slug identifier” in API documentation mentioned at https://docs.digitalocean.com/reference/api/api-reference/#operation/create_droplet Anyone please know how can i pass Size value to create cpu and memory optimized droplet.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!