Deletes a backup file.
Operation description
If you delete the most recent backup file for a data source, you must set the Force parameter to true
. Otherwise, an error occurs.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Token | string | No | The token. | 02WJDOE7 |
VaultId | string | No | The ID of the backup vault. | v-********************* |
ClientId | string | No | The ID of the backup client. If you delete a backup file for Elastic Compute Service (ECS) instances, you must set one of the InstanceId and ClientId parameters. | c-********************* |
SnapshotId | string | Yes | The ID of the backup file. | s-********************* |
SourceType | string | No | The type of the backup source. Valid values:
| ECS_FILE |
InstanceId | string | No | The ID of the ECS instance. If you delete a backup file for Elastic Compute Service (ECS) instances, you must set one of the ClientId and InstanceId parameters. | i-********************* |
Force | boolean | No | Specifies whether to forcibly delete the most recent backup file. Valid values:
| false |
Response parameters
Examples
Sample success responses
JSON
format
{
"Code": "200",
"Message": "successful",
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Success": true
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|