You can call this operation to delete a database instance managed in Database Management (DMS) Enterprise.

This operation only removes database instances from the DMS Enterprise console, rather than discontinuing the instances.


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 DeleteInstance

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

Host String Yes

The endpoint of the database instance to delete.

Port Integer Yes 3306

The connection port of the database instance to delete.

Tid Long Yes -1

The ID of the tenant in DMS Enterprise.

Sid String No testSid

The system ID (SID) of the database instance to delete.

Response parameters


Sample requests

http(s)://[Endpoint]/? Action=DeleteInstance
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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