List regions
List every region where you can launch an instance. Each region has an id you pass to Create an instance, along with its name and ISO country code.
GET /v1/regions
Code samples for "List regions"
Request example
curl https://api.amezmo.com/v1/regions \
-H "Authorization: Bearer $AMEZMO_API_KEY"
Response
The response is an array of regions. Retrieve one region with Get a region.
[
{
"id": "lb2-us",
"iso_country_code": "US",
"name": "United States"
},
{
"id": "au2-au",
"iso_country_code": "AU",
"name": "Australia"
},
{
"id": "uk3-uk",
"iso_country_code": "UK",
"name": "United Kingdom"
},
{
"id": "ca-ca",
"iso_country_code": "CA",
"name": "Canada"
}
]