Question

Regions endpoint (API v2) doesn't return all regions availablr

Posted May 16, 2018 1.1k views
API

Hi,

curl -X GET -H “Content-Type: application/json” “https://api.digitalocean.com/v2/regions

should return all regions available, instead API returns only:

nyc1 > New York 1
sgp1 > Singapore 1
lon1 > London 1
nyc3 > New York 3
ams3 > Amsterdam 3
fra1 > Frankfurt 1
tor1 > Toronto 1
sfo2 > San Francisco 2
blr1 > Bangalore 1

As listed on status page, there are 12 regions available: https://status.digitalocean.com/

Why API returns only 9 of them?

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!