waf__DeleteCcRule
Deletes a specified CC protection rule from a Huawei Cloud WAF policy using project, policy, and rule IDs, removing outdated or unwanted rate-limiting rules.
Instructions
[WAF] 删除cc防护规则
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"policy_id": "<policy_id>",
"project_id": "<project_id>",
"rule_id": "<rule_id>"
},
"name": "waf__DeleteCcRule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule_id | Yes | ID of the cc rule. It can be obtained by calling the **ListCcRules** API. | |
| policy_id | Yes | 策略id(策略id从查询防护策略列表接口获取) | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |