Domain name for API request: mongodb.intl.tencentcloudapi.com.
This API is used to close the audit service.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CloseAuditService. |
| Version | Yes | String | Common Params. The value used for this API: 2019-07-25. |
| Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
| InstanceId | Yes | String | Instance ID, in the format of cmgo-test1234. It is the same as the instance ID displayed on the TencentDB console page. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mongodb.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CloseAuditService
<Common request parameters>
{
"InstanceId": "cmgo-l0w4cf5v"
}
{
"Response": {
"RequestId": "eac6b301-a322-493a-8e36-83b295459397"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError.AuditDeleteLogFileError | Error deleting the audit log. |
| InternalError.AuditDescribeLogError | Error querying the audit log. |
| InternalError.AuditError | Internal audit service error. |
| InternalError.AuditModifyStatusError | Failed to modify audit status. |
| InternalError.CheckAppIdFailed | appId verification failed. |
| InternalError.CosError | Get file information failed. |
| InternalError.DBError | Database exception. |
| InternalError.DBOperationError | Database operation failed. |
| InternalError.DatabaseAccessError | Database internal error. |
| InternalError.InnerCommonError | Internal service error. |
| InternalError.JSONError | json parsing failure. |
| InternalError.JsonUnmarshalError | Json deserialization error. |
| InternalError.TradeError | Transaction system error. |
| InternalError.UnknownError | Unknown error. |
| OperationDenied.AuditPolicyConflictError | Audit policy conflict. |
| OperationDenied.AuditPolicyExistError | Audit policy already exists. |
| OperationDenied.AuditPolicyNotExistError | Audit policy not found. |
| OperationDenied.AuditTaskConflictError | Audit task conflict. |
| OperationDenied.ResourceNotFundError | Resource is not found. |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback