删除 WAF 域名防护策略。

Request Parameters

Parameter name Type Description Required

rules.n

String

策略的规则内容
wafri-xxxxxxxx:自定义规则 ID
wafci-xxxxxxxx:黑白名单规则 ID

Yes

zone

String

区域 ID,注意要小写

Yes

Response Elements

Name Type Description

action

String

响应动作

waf_rules

String

添加的防护规则 ID
wafri-xxxxxxxx:自定义规则 ID
wafci-xxxxxxxx:黑白名单规则 ID

Example

Example Request:

https://api.qingcloud.com/iaas/?action=DeleteWAFRules
&rules.1=wafri-0q7fd000
&zone=pek3a
&COMMON_PARAMS

Example Response:

{
  "action":"DeleteWAFRulesResponse",
  "waf_rules":["wafri-0q7fd000"],
  "ret_code":0
}