Deletes a detection rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteDetectionRule |
delete |
*DetectionRule
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
No |
The region of the Management Hub. Select a region based on the location of your assets. Valid values:
|
cn-hangzhou |
| Lang |
string |
No |
The language of the response. Valid values:
|
zh |
| DetectionRuleId |
string |
Yes |
The ID of the detection rule. |
dr-53np4nguf5jmh1vc**** |
| RoleFor |
integer |
No |
The user ID of the member. This parameter is used by an administrator to switch to the perspective of a member. |
113091674488**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The ID of the request. |
9AAA9ED9-78F4-5021-86DC-D51C7511**** |
Examples
Success response
JSON format
{
"RequestId": "9AAA9ED9-78F4-5021-86DC-D51C7511****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IdempotentParameterMismatch | The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.