Deletes a protection rule template.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-waf:DeleteDefenseTemplate | delete | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The ID of the Web Application Firewall (WAF) instance. Note Call DescribeInstance to query the ID of the current WAF instance. | waf_cdnsdf3**** |
TemplateId | integer | Yes | The ID of the protection template to be deleted. | 3155 |
RegionId | string | No | The region of the WAF instance. Valid values:
| cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Response parameters
Parameter | Type | Description | Example |
object | The result of the request. | ||
RequestId | string | The request ID. | E2DE6F11-6FED-5909-95F2-2520B58C5BC7 |
Examples
Success response
JSON format
{
"RequestId": "E2DE6F11-6FED-5909-95F2-2520B58C5BC7"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.