Last updated: 2019-11-29 17:26:43


1. API Description

Domain name for API request: mongodb.tencentcloudapi.com.

This API (TerminateDBInstance) is used to terminate a pay-as-you-go MongoDB database instance.

Default request rate limit: 20/sec.

Note: This API supports Finance regions. Finance and non-Finance regions are isolated from each other. Therefore, if the common parameter Region is a Finance region (such as ap-shanghai-fsi), you need to specify a domain name containing the Finance region specified in the Region field, for example: mongodb.ap-shanghai-fsi.tencentcloudapi.com.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters.

Parameter Name Required Type Description
Action Yes String Common parameter. The value​used for this API: TerminateDBInstance.
Version Yes String Common parameter. The value used for this API: 2018-04-08
Region Yes String Common parameter.
InstanceId Yes String Instance ID, such as: cmgo-p8vnipr5.

3. Output Parameters

Parameter Name Type Description
AsyncRequestId String Order ID, indicating instance termination is successful
RequestId String The unique ID of a request, which is required for each troubleshooting case.

4. Example

Example 1 Terminate a pay-as-you-go database instance

Input example

&<Common request parameters>

Output example

        "RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7",

5. Resources for Developers

API Explorer

This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using cloud APIs.


Cloud API 3.0 comes with the software development kit (SDK) that supports multiple programming languages and makes it easier to call the APIs.

Command line tools

6. Error Codes

The following only lists the error codes related to this API.

Error Code Description
InternalError.AsyncRequestError An error occurred while querying an async task.
InvalidParameter Invalid parameter