Deletes a database instance from DMS enterprise.
This operation only removes database instances from the DMS Enterprise console, rather than discontinuing the instances.
Debugging
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 | xxx.mysql.rds.aliyuncs.com |
The endpoint of the instance to delete. |
Port | Integer | Yes | 3306 |
The connection port of the instance to be deleted. |
Tid | Long | Yes | -1 |
The ID of the tenant. Note
The tenant ID is
taken from the tenant ID displayed when you move the pointer on your profile picture.
For more information, see
View tenant information
.
|
Sid | String | No | testSid |
The system ID of the instance to be deleted. |
Response parameters
Parameter | Type | Sample response | Description |
---|---|---|---|
ErrorCode | String | UnknownError |
The error codes. |
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:
|
Examples
Sample request
http(s)://[Endpoint]/? Action=DeleteInstance &Host=xxx.mysql.rds.aliyuncs.com &Port=3306 &Tid=-1 &<common request parameters>
Sample success responses
XML
format
<RequestId>B4B07137-F6AE-4756-8474-7F92BB6C4E04</RequestId> <Success>true</Success>
JSON
{ "RequestId": "B4B07137-F6AE-4756-8474-7F92BB6C4E04", "Success": true }
Error codes
For more information about error codes, see error center.