Releases a MongoDB instance.
Operation description
An instance can be released only if it meets the following conditions:
The instance is in the Running state.
The billing method of the instance is pay-as-you-go.
After an instance is released, its data cannot be recovered. Perform this operation with caution.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dds:DeleteDBInstance |
delete |
*Instance
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DBInstanceId |
string |
Yes |
The instance ID. |
dds-bpxxxxxxxx |
| ClientToken |
string |
No |
A client token to ensure the idempotence of the request. Generate a unique value on the client for each request. The value can be up to 64 ASCII characters in length and cannot contain non-ASCII characters. |
ETnLKlblzczshOTUbOCzxxxxxxxxxx |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
72651AF9-7897-41A7-8B67-6C15C7F26A0A |
Examples
Success response
JSON format
{
"RequestId": "72651AF9-7897-41A7-8B67-6C15C7F26A0A"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ChargeTypeViolation | The operation is not permitted due to charge type of the instance. | |
| 400 | GadInstanceNotSupport | GAD Instance doesn't support the operation. | |
| 403 | InstanceReleaseProtection | The operation is not permitted due to instance release protection. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.