All Products
Search
Document Center

Web Application Firewall:ModifyDomainPunishStatus

Last Updated:Apr 24, 2024

Re-adds a domain name that is penalized for failing to obtain an Internet Content Provider (ICP) filing to Web Application Firewall (WAF).

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
InstanceIdstringYes

The ID of the WAF instance.

Note You can call the DescribeInstance operation to query the ID of the WAF instance.
waf_v2_public_cn-zxu****0g02
DomainstringYes

The domain name that is penalized for failing to obtain an ICP filing.

demo.xxxxaliyundoc.com
ResourceManagerResourceGroupIdstringNo

The ID of the Alibaba Cloud resource group.

rg-acfm***q
RegionIdstringNo

The region in which the WAF instance is deployed. Valid values:

  • cn-hangzhou: Chinese mainland.
  • ap-southeast-1: outside the Chinese mainland.
cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

70E65A35-22B8-567C-B0A0-A2E9****20AE

Examples

Sample success responses

JSONformat

{
  "RequestId": "70E65A35-22B8-567C-B0A0-A2E9****20AE"
}

Error codes

HTTP status codeError codeError messageDescription
400Waf.Pullin.DomainNotBeianOrInBlackListThe domain does not have an ICP filling or has been blacklisted.The domain name is not filed or is on the blacklist.

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