Domain name for API request: antiddos.intl.tencentcloudapi.com.
This API is used to delete a protection instance.
After deletion, the protection instance and its bound protection policies will no longer take effect. Ensure that no protected resources are in use in the protection instance, or rebind the protected resources to another protection instance in advance.
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: DeleteProtection. |
| Version | Yes | String | Common Params. The value used for this API: 2025-09-03. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| ProtectionId | Yes | String | ID of the protection instance. |
| 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. |
This example shows you how to delete the protection instance with the ID prot-0004c045b8.
POST / HTTP/1.1
Host: antiddos.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DeleteProtection
<Common request parameters>
{
"ProtectionId": "prot-0004c045b8"
}
{
"Response": {
"RequestId": "9kl50bew-89ga-44f4-91ce-78125d53vd2a"
}
}
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 | Internal error. |
| InvalidParameter | Parameter error. |
| InvalidParameterValue | Parameter value error. |
| OperationDenied | Operation denied. |
| ResourceNotFound | Resources do not exist. |
文档反馈