Deletes an anti-ransomware policy.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Id | long | Yes | The ID of the anti-ransomware policy that you want to delete. Note
You can call the DescribeBackupPolicies operation to query the IDs of anti-ransomware policies.
| 12 |
PolicyVersion | string | No | The version of the anti-ransomware policy that you want to delete. You can call the DescribeBackupPolicies operation to query the versions of anti-ransomware policies. Valid values:
| 2.0.0 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "24A20733-10A0-4AF6-BE6B-E3322413BB68"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2022-08-01 | The internal configuration of the API is changed, but the call is not affected | View Change Details |
2022-08-01 | The internal configuration of the API is changed, but the call is not affected | View Change Details |