All Products
Search
Document Center

Database Backup:DeleteSandboxInstance

Last Updated:Apr 26, 2024

Releases a sandbox instance.

Operation description

This operation is available only for the Database Backup (DBS) API of the 2021-01-01 version.

Debugging

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

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
BackupPlanIdstringYes

The ID of the backup schedule. You can call the DescribeBackupPlanList operation to query the ID of the backup schedule.

Note If your instance is an ApsaraDB RDS for MySQL instance, you can configure automatic access to a data source to automatically add the instance to DBS and obtain the ID of the backup schedule.
1hxxxx8xxxxxa
InstanceIdstringYes

The ID of the sandbox instance. You can call the DescribeSandboxInstances operation to query the ID of the sandbox instance.

1jxxxxnxxx1xc

Response parameters

ParameterTypeDescriptionExample
object
Datastring

The returned data.

operation forbidden due to sandbox is creating.
RequestIdstring

The ID of the request.

4F1888AC-1138-4995-B9FE-D2734F61C058
ErrCodestring

The error code returned if the request failed.

Param.NotFound
Successstring

Indicates whether the request was successful.

true
ErrMessagestring

The error message returned if the request failed.

The specified parameter %s value is not valid.
Codestring

The error code returned if the request failed.

Param.NotFound
Messagestring

The error message returned if the request failed.

The specified parameter %s value is not valid.

Examples

Sample success responses

JSONformat

{
  "Data": "operation forbidden due to sandbox is creating.",
  "RequestId": "4F1888AC-1138-4995-B9FE-D2734F61C058",
  "ErrCode": "Param.NotFound",
  "Success": "true",
  "ErrMessage": "The specified parameter %s value is not valid.",
  "Code": "Param.NotFound",
  "Message": "The specified parameter %s value is not valid."
}

Error codes

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

Change history

Change timeSummary of changesOperation
2023-08-18The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: ZoneId
Error codeError messageDescription
Operation.DeniedByJobStatusoperation forbidden due to sandbox is creatingThe error message returned because the sandbox instance is being created and cannot be released. Release the sandbox instance when it is running.