Deletes anti-ransomware policies created for databases.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DeleteUniBackupPolicy |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PolicyId |
integer |
No |
The ID of the anti-ransomware policy. Note
Call the DescribeUniBackupPolicies operation to query the IDs of anti-ransomware policies. You must specify at least one of the PolicyId parameter and the PolicyIds parameter. |
123 |
| PolicyIds |
string |
No |
The IDs of anti-ransomware policies. Note
Call the DescribeUniBackupPolicies operation to query the IDs of anti-ransomware policies. You must specify at least one of the PolicyId parameter and the PolicyIds parameter. |
123,124 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| RequestId |
string |
The request ID, used to locate and troubleshoot issues. |
4F07F4F1-88ED-5569-B519-FFCC9B7E**** |
Examples
Success response
JSON format
{
"RequestId": "4F07F4F1-88ED-5569-B519-FFCC9B7E****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.