Releases a pay-as-you-go MongoDB instance.
Operation description
The instance must meet the following conditions:
The instance status is running.
The billing method of the instance is pay-as-you-go.
After an instance is released, its data cannot be recovered. Proceed 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 token that ensures the idempotence of the request. The client generates this value, which must be unique among different requests. 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.