You can call this operation to release an RDS instance.

When you perform this operation, the instance must meet the following requirements:

  • The instance is in the running state.
  • The read/write splitting function is disabled for the instance.
  • The instance is a Pay-As-You-Go master instance, read-only instance, disaster recovery instance, or temporary instance.


You can use OpenAPI Explorer to perform debugging.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteDBInstance

The operation that you want to perform. Set this parameter to DeleteDBInstance.

DBInstanceId String Yes rm-uf6wjk5xxxxxxxxxx

The ID of the instance.

AccessKeyId String No LTAIfCxxxxxxxxxx

The AccessKey ID issued by Alibaba Cloud for users to access services.

Response parameters

Parameter Type Example Description
RequestId String 65BDA532-28AF-4122-AA39-B382721EEE64

The ID of the request.


Request example

&<Common request parameters>

Normal response examples

XML format

	  <RequestId> 65BDA532-28AF-4122-AA39-B382721EEE64</RequestId></DeleteDBInstanceResponse>

JSON format

	"RequestId":" 65BDA532-28AF-4122-AA39-B382721EEE64"

Error codes

For a list of error codes, visit the API Error Center.