List of locations for a country.

GET

Returns a list of all the locations of a country, expressed as ISO 3166-2 codes. It will include the regions and subregions (sublocations) of the country if available.

Required Permissions: Any authenticated user.

Path parameters

countryCodestringRequired

The ISO 3166-1 alpha-2 country code.

Response

Success

codestringOptional

The ISO-3166-2 location code.

namestringOptional

The name of the location, e.g. “Berlin”.