Get Geo Blocking Policy
This API is used to get geo blocking policy under this domain.
Request Definition
- API URL:
https://lsdn-api.swiftfederation.com/v1.0/domains/{domainId}/geo_blocking_policy
- Request Method:
GET
- Request Header:
Refer to HTTP Request Headers
- Request Body:
No request Body for this API.
Response Definition
- Response Header
Refer to HTTP Response Headers
- Response Body
Field | Type | Description |
---|---|---|
type | String | BLACK_LIST, WHITE_LIST |
countryCodes | List\ |
Collection of ISO 3166-1 ALPHA-2 country codes. |
- Response Body Example
{
"type": "BLACK_LIST",
"countryCodes": [
"CN",
"US"
]
}