DeleteDBInstance
Releases a MongoDB instance.
Operation description
When you invoke this operation, the instance must meet the following conditions:
The instance status is Running.
The billing method of the instance is pay-as-you-go.
After the 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 |
Ensures the idempotence of the request. The value is generated by the client and must be unique across 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 ID of the request. |
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. | The operation is not permitted due to charge type of the instance. |
| 400 | GadInstanceNotSupport | GAD Instance doesn't support the operation. | The operation is not supported by the GAD instance. |
| 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.