All Products
Search
Document Center

Security Center:DeleteBackupSnapshot

Last Updated:Aug 23, 2024

Deletes a backup snapshot that is created for anti-ransomware.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:DeleteBackupSnapshotdelete
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
RetainLatestSnapshotbooleanNo

Specifies whether to retain the latest snapshot. Valid values:

  • true
  • false
true
BackupSnapshotListarray<object>No

The backup snapshots.

objectNo

The information about the backup snapshot.

SnapshotIdstringYes

The ID of the snapshot that you want to delete.

Note You can call the DescribeSnapshots operation to query the ID.
s-000f9p6r5trm6u4dc1iq
ClientIdstringYes

The ID of the Cloud Backup client.

Note You can call the DescribeSnapshots operation to query the ID.
c-000a4h33w14ka8xagb2s
VaultIdstringYes

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
SourceTypestringYes

The type of the data source. Valid values:

  • ECS_FILE: Elastic Compute Service (ECS) files.
  • OSS: Object Storage Service (OSS) buckets.
  • NAS: Apsara File Storage NAS (NAS) file systems.
  • OTS_TABLE: Tablestore instances.
ECS_FILE
InstanceIdstringYes

The ID of the server.

i-j6cj8vyajp1fo4atxkae
RegionIdstringYes

The region in which Security Center is deployed. Valid values:

  • cn-hangzhou: China (Hangzhou).
  • ap-southeast-1: Singapore.
  • cn-beijing: China (Beijing).
cn-beijing
BackupRegionIdListarrayNo

The regions for backup.

stringNo

The region.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

7BC55C8F-226E-5AF5-9A2C-2EC43864****

Examples

Sample success responses

JSONformat

{
  "RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****"
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.