waf__DeletePremiumHost
Deletes a dedicated-mode domain from Huawei Cloud WAF by host ID, with optional rules retention and enterprise project scoping.
Instructions
[WAF] 删除独享模式域名
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": {
"host_id": "<host_id>",
"project_id": "<project_id>"
},
"name": "waf__DeletePremiumHost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host_id | Yes | 独享模式域名ID | |
| keepPolicy | No | 是否保留规则。false表示不保留该域名的防护策略;true表示保留该域名的防护策略。当要删除的防护域名的防护策略防护多个防护域名时,该参数不传。 | |
| project_id | Yes | 项目ID,对应华为云控制台用户名->我的凭证->项目列表->项目ID | |
| enterprise_project_id | No | 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id |