tencent cloud

DeleteAuditPolicy
最后更新时间:2026-01-19 16:00:07
DeleteAuditPolicy
最后更新时间: 2026-01-19 16:00:07

1. API Description

Domain name for API request: cdb.intl.tencentcloudapi.com.

This API is used to delete an audit policy.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: DeleteAuditPolicy.
Version Yes String Common Params. The value used for this API: 2017-03-20.
Region Yes String Common Params. For more information, please see the list of regions supported by the product. This API only supports: ap-bangkok, ap-beijing, ap-chengdu, ap-chongqing, ap-guangzhou, ap-hongkong, ap-jakarta, ap-nanjing, ap-seoul, ap-shanghai, ap-shanghai-fsi, ap-shenzhen-fsi, ap-singapore, ap-tokyo, eu-frankfurt, na-ashburn, na-siliconvalley, sa-saopaulo.
PolicyId Yes String Audit policy ID.
InstanceId No String Instance ID.

3. Output Parameters

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.

4. Example

Example1 Deleting an Audit Policy

Input Example

https://cdb.intl.tencentcloudapi.com/?Action=DeleteAuditPolicy
&PolicyId=cdbpolicy-234
&InstanceId=cdb-xxxxxxx
&<Common request parameters>

Output Example

{
    "Response": {
        "RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

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.AuditDeletePolicyError Internal audit service error.
InternalError.AuditError An error occurred in the internal service of the audit service.
InternalError.DBError Database exception
InternalError.DBOperationError Database operation failed.
InternalError.DatabaseAccessError Internal database error.
InternalError.InternalHttpServerError An exception occurred while executing the request.
InternalError.TransactionBeginError Operation failed
InvalidParameter Parameter error.
OperationDenied.AtLeastAllRuleAuditPolicyError Security audit is enabled. At least one full audit policy must be retained.
OperationDenied.AtLeastAuditPolicyError At least one audit policy must be retained.
OperationDenied.AuditPolicyNotExistError Audit policy not found.
OperationDenied.AuditTaskConflictError The audit tasks conflict.
ResourceInUse The resource is occupied.
ResourceNotFound The resource does not exist.
ResourceUnavailable The resource is unavailable.
本页内容是否解决了您的问题?
您也可以 联系销售 提交工单 以寻求帮助。

文档反馈