Question
Network details not returned on API droplet creation
Hello,
When creating a new droplet using the API, the response does not contain the network details of the newly created droplet (like the public and private IP adresses). In the response JSON, I have the following element :
"networks":{"v4":[],"v6":[]}
As you can see the “v4” and the “v6” arrays are empty. Is there an option I need to pass in the request to get these details or am I just supposed to make an additional request to get the newly created droplet’s details (by passing the droplet ID that is returned from the create droplet request).
Thanks for your help.
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.
×