Sets the IP address blacklist of a CDN domain.

You can add an IP address segment to the blacklist.  For example,, “24” indicates that the first 24 bits in the subnet mask are used as valid bits. That is, 32 - 24 = 8 bits are used to express the host number. In this way, the subnet can accommodate 2 ^ 8 - 2 = 254 Hosts.  The IP address segment range of “” is -

Request parameters

Parameters Type Required Example values Description
Action String Yes SetIpBlackListConfig The name of this interface.  Value: SetIpBlackListConfig
BlockIps String Yes. IP address blacklist. Access by the listed IP addresses is forbidden. Multiple IP addresses are separated by commas (,).
DomainName String Yes. Your CDN domain name.

Return parameters

Parameters Type Example values Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8 The ID of the request.


Request example
&public request parameter
Normal return example
  • JSON format

Exception return example
  • JSON format

        "Message":"The request processing has failed due to some unknown error.",