Deletes a backup snapshot that is created for anti-ransomware.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RetainLatestSnapshot | boolean | No | Specifies whether to retain the latest snapshot. Valid values:
| true |
BackupSnapshotList | array<object> | No | The backup snapshots. | |
object | No | The information about the backup snapshot. | ||
SnapshotId | string | Yes | The ID of the snapshot that you want to delete. Note
You can call the DescribeSnapshots operation to query the ID.
| s-000f9p6r5trm6u4dc1iq |
ClientId | string | Yes | The ID of the Cloud Backup client. Note
You can call the DescribeSnapshots operation to query the ID.
| c-000a4h33w14ka8xagb2s |
VaultId | string | Yes | The ID of the backup vault that is used in the restoration task. Note
You can call the DescribeSnapshots operation to query the ID.
| v-0004vhwcs2pmacfzrzt5 |
SourceType | string | Yes | The type of the data source. Valid values:
| ECS_FILE |
InstanceId | string | Yes | The ID of the server. | i-j6cj8vyajp1fo4atxkae |
RegionId | string | Yes | The region in which Security Center is deployed. Valid values:
| cn-beijing |
BackupRegionIdList | array | No | The regions for backup. | |
string | No | The region. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | CannotDeleteLatestSnapshot | Can not delete latest snapshot. | Can not delete latest snapshot. |
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 |
---|---|---|
2024-09-25 | The Error code has changed | View Change Details |