DeleteAutoSnapshotPolicy
Description
delete an automatic snapshot policy. If the target automatic snapshot policy has been applied to disks, after the automatic snapshot policy is deleted, these disks no longer execute the policy.
Request Method
POST
Request Path
/apsara/route/Ecs/DeleteAutoSnapshotPolicy
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
autoSnapshotPolicyId | BODY | string | Yes | sp-bp12m37ccmxvbmi5**** | ID of automatic snapshot policy. You can call the DescribeAutoSnapshotPolicyEx to view the automatic snapshot policies available to you. |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}