List of locations for a country.

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.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Response

OK

codestring or nullOptional

The ISO-3166-2 location code.

namestring or nullOptional

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