Configures an IP blacklist for an accelerated domain name.

CIDR blocks can be added to an IP blacklist.

For example, you can add to the IP address blacklist or whitelist. 24 indicates that the first 24 bits are the mask to represent the part of the network portion of the address. The remaining 8 bits are host bits. The subnet can accommodate 254 hosts. Therefore, the IP addresses are to


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

Parameter Type Required Example Description
Action String Yes SetIpBlackListConfig

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

BlockIps String Yes

The IP blacklist. IP addresses added to the blacklist cannot access the accelerated domain name. You can specify multiple IP addresses and separate them with commas (,).

DomainName String Yes

The accelerated domain names. You can specify multiple domain names and separate them with commas (,).

Response parameters

Parameter Type Example Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"

Error codes

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