DigitalOcean API to fetch the names and creation date

November 27, 2014 1.2k views


I want to fetch only the names and creation dates of the droplets running in our account.

I am using this command "curl -X GET -H 'Content-Type: application/json' -H 'Authorization: Bearer <token>' "" , but it returns all the details.
I would like to know if there any option to get only names and creation dates of the droplets.

Thanks is advance

1 Answer

There is not. You would need to capture the full droplet response and use the fields you require.

Have another answer? Share your knowledge.