All Products
Search
Document Center

CDN:DescribeBlockedRegions

Last Updated:Jul 04, 2024

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

Operation description

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

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LanguagestringYes

The language. Valid values:

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

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23
InfoListarray<object>

The information returned.

object
CountriesAndRegionsstring

The abbreviation of the name of the country or region.

AF
Continentstring

The district to which the country or region belongs.

Asia
CountriesAndRegionsNamestring

The name of the country or region.

Afghanistan

Examples

Sample success responses

JSONformat

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

Error codes

HTTP status codeError codeError message
400MISS_PARAMETERMISS_PARAMETER
400INVALID_PARAMETERINVALID_PARAMETER
400FAILEDFAILED

For a list of error codes, visit the Service error codes.