Deletes a file protection rule.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteFileProtectClientRule |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SelectAll |
boolean |
Yes |
Specifies whether to select all rules. |
true |
| IdList |
array |
No |
The list of policy IDs. |
|
|
integer |
No |
The policy ID. |
123 |
|
| RuleName |
string |
No |
The name of the rule. |
text-001 |
| RuleAction |
string |
No |
The action to take when the rule is triggered. Valid values:
|
pass |
| AlertLevel |
integer |
No |
The alert notification level. Valid values:
|
0 |
| Platform |
string |
No |
The type of the operating system. Valid values:
|
linux |
| ExcludeIdList |
array |
No |
The list of excluded policy IDs. |
|
|
integer |
No |
The excluded policy ID. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7 |
Examples
Success response
JSON format
{
"RequestId": "A4EB8B1C-1DEC-5E18-BCD0-D1BBB3936FA7"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalParameter | Illegal parameter, please check the param. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.