You can call this operation to delete an instance managed by 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 Required DeleteInstance

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

Host String Required

The endpoint of the instance.

Port Integer Yes 3306

The connection port of the instance to be deleted.

Tid Long Yes -1

The ID of the tenant in DMS enterprise.

Sid String  No testSid

The system ID of the instance to be deleted.

Response parameters

Parameter Type Example Description
ErrorCode String UnknownError

The error code.

ErrorMessage String UnknownError

The error message.

RequestId String B4B07137-F6AE-4756-8474-7F92BB6C4E04

The ID of the request.

Success Boolean true

Indicates whether the request is successful. Valid values:

  • true
  • false


Sample requests

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

Sample success responses

XML format


JSON format

  "RequestId": "B4B07137-F6AE-4756-8474-7F92BB6C4E04",
  "Success": true


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