Calls the RemoveDrdsInstance operation to release a target instance.
Operation description
Only pay-as-you-go (postpaid) instances can be released.
You cannot call this operation to release an instance that is undergoing a specification change or is associated with databases.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
drds:RemoveDrdsInstance |
*instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DrdsInstanceId |
string |
Yes |
The instance ID. |
drds************ |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
boolean |
The result of the request. |
true |
| RequestId |
string |
The request ID. |
A3140FC7-B78B-4D8E-B0C8-926D28****** |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "A3140FC7-B78B-4D8E-B0C8-926D28******"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ReleasePrepayInstance | The pay type of this drds instance is prepay | |
| 400 | RemoveDrdsDBFirst | There are Drds DB exist in this instance. Please delete drds db first | |
| 500 | ERR_INSTANCE_RELEASE_ALREADY | 实例已释放 | |
| 500 | ERR_INSTANCE_CAN_NOT_RELEASE | 实例暂时无法释放 | |
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.