You can call the CheckInstanceExist operation to query whether an ApsaraDB RDS instance exists.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes CheckInstanceExist

The operation that you want to perform. Set the value to CheckInstanceExist.

DBInstanceId String Yes rm-uf6wjk5xxxxxxx

The ID of the instance.

Response parameters

Parameter Type Example Description
IsExistInstance Boolean true

Indicates whether the instance exists. Valid values:

  • true: The instance exists.
  • false: The instance does not exist.
RequestId String 11439B36-F703-49EB-8656-D3C87BE28B57

The ID of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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