All Products
Search
Document Center

Web Application Firewall:ModifyDomainPunishStatus

Last Updated:Oct 15, 2025

Re-add a domain name that was penalized for not having an ICP filing to Web Application Firewall (WAF).

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

Yes

The ID of the WAF instance.

Note

Call the DescribeInstance operation to query the ID of the current WAF instance.

waf_v2_public_cn-zxu****0g02

Domain

string

Yes

The domain name in a penalized state for not having an ICP filing.

demo.xxxxaliyundoc.com

RegionId

string

No

The region of the WAF instance. Valid values:

  • cn-hangzhou: the Chinese mainland.

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

cn-hangzhou

ResourceManagerResourceGroupId

string

No

The ID of the Alibaba Cloud resource group.

rg-acfm***q

Response elements

Element

Type

Description

Example

object

RequestId

string

The ID of the request.

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

Examples

Success response

JSON format

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

Error codes

HTTP status code

Error code

Error message

Description

400

Waf.Pullin.DomainNotBeianOrInBlackList

The domain does not have an ICP filling or has been blacklisted.

The domain name is not filed or is on the blacklist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.