Deletes an anti-ransomware policy.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteBackupPolicy |
The operation that you want to perform. Set the value to DeleteBackupPolicy. |
Id | Long | Yes | 12 |
The ID of the anti-ransomware policy that you want to delete. |
PolicyVersion | String | Yes | 2.0.0 |
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:
|
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 24A20733-10A0-4AF6-BE6B-E3322413BB68 |
The ID of the request, which is used to locate and troubleshoot issues. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteBackupPolicy
&Id=12
&PolicyVersion=2.0.0
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteBackupPolicyResponse>
<RequestId>24A20733-10A0-4AF6-BE6B-E3322413BB68</RequestId>
</DeleteBackupPolicyResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "24A20733-10A0-4AF6-BE6B-E3322413BB68"
}
Error codes
For a list of error codes, visit the API Error Center.