Skip to main content

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

NameLocationTypeRequiredSample valueDescription
autoSnapshotPolicyIdBODYstringYessp-bp12m37ccmxvbmi5****ID of automatic snapshot policy. You can call the DescribeAutoSnapshotPolicyEx to view the automatic snapshot policies available to you.
regionIdBODYstringYesNo sample value for this parameter.region id
versionBODYstringNo2016-01-01version of api

Return data

NameTypeSample valueDescription
RequestIDstring1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DCRequest id

Example

Successful Response example

{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}

Failed Response example

{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}

}