Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How do I create a droplet and capture its id to a variable?
I’m looking to automate as much as possible. I’m using curl to create a droplet. How can I capture the assigned id and save to a variable so that I can then issue other commands where I need this id?
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.×