Get a region

Retrieve a single region by its id, including its name and ISO country code. Use it to confirm a region before you launch an instance there.

GET /v1/regions/{region_id}

Parameters for "Get a region"

Parameter Type In Description
region_id string uri Required The region id. See List regions

Code samples for "Get a region"

Request example

GET /v1/regions/{region_id}
curl https://api.amezmo.com/v1/regions/au2-au \
    -H "Authorization: Bearer $AMEZMO_API_KEY"

Response

200 OK
{
    "id": "au2-au",
    "iso_country_code": "AU",
    "name": "Australia"
}