Question
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?
Regards,
GH.
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.
×