All Products
Search
Document Center

Web Application Firewall:ModifyDefenseRuleCache

Last Updated:Apr 23, 2024

Updates the cached page of a website that is protected based on a website tamper-proofing rule.

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 Web Application Firewall (WAF) instance.

Note You can call the DescribeInstance operation to query the ID of the WAF instance.
waf_v3prepaid_public_cn-zvp****xm2r
TemplateIdlongYes

The ID of the protection template.

12345
RuleIdlongYes

The ID of the protection rule.

12345678
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 request ID.

A0F2B994-8645-5270-A05D-9DAD8C****B6

Examples

Sample success responses

JSONformat

{
  "RequestId": "A0F2B994-8645-5270-A05D-9DAD8C****B6"
}

Error codes

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