Queries countries and regions that can be added to the blacklist.

Note You can call this operation up to 50 times per second.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Name Type Required Example Description
Action String Yes DescribeBlockedRegions

The operation that you want to perform. Set the value to DescribeBlockedRegions.

Language String Yes zh

The language. Valid values:

  • zh: simplified Chinese
  • en: English
  • jp: Japanese

Response parameters

Name Type Example Description
InfoList Array of InfoItem

A list of countries and regions.

InfoItem
Continent String Asia

The district to which the country or region belongs.

CountriesAndRegions String AF

The abbreviation of the name of the country or region.

CountriesAndRegionsName String Afghanistan

The name of the country or region.

RequestId String BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23

The ID of the request.

Examples

Sample requests

https://cdn.aliyuncs.com?Action=DescribeBlockedRegions&Language=zh
&<Common request parameters>

Sample success responses

XML format

<DescribeBlockedRegionsResponse>
  <RequestId>BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23</RequestId>
  <InfoList>
        <InfoItem>
              <LineName>Asia</LineName>
              <CountriesAndRegions>AF</CountriesAndRegions>
              <CountriesAndRegionsName>Afghanistan</CountriesAndRegionsName>
        </InfoItem>
  </InfoList>
</DescribeBlockedRegionsResponse>

JSON format

{
    "RequestId": "BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23",
    "InfoList": {
        "InfoItem": [
            {
                "Continent":"Asia",
                "CountriesAndRegions": "AF",
                "CountriesAndRegionsName": "Afghanistan"
            }
        ]
    }
}

Error codes

For a list of error codes, visit the API Error Center.