Packages
Locations
Get available countries for a package
List the countries this package can route traffic through, with the tier of each country. Use the returned code values as the country parameter of the connection-string endpoint.
Requires the proxy:packages:read scope.
get/v1/proxy/packages/{package_id}/locations/countries
Request
- Base URLhttps://api.platform.soax.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
package_idstring required
The package ID
Response
Successful Response
Example response
{
"data": [
{
"code": "US",
"name": "United States",
"tier": 1
},
{
"code": "GB",
"name": "United Kingdom",
"tier": 2
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.