Domain name for API request: dayu.tencentcloudapi.com.
This API is used to modify CC protection level.
A maximum of 10 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 parameter. The value used for this API: ModifyCCLevel. |
Version | Yes | String | Common parameter. The value used for this API: 2018-07-09. |
Region | No | String | Common parameter. This parameter is not required for this API. |
Business | Yes | String | Anti-DDoS service type. bgpip : Anti-DDoS Advanced; net : Anti-DDoS Ultimate |
Id | Yes | String | Anti-DDoS instance ID |
Level | Yes | String | CC protection level. Valid values: [default (normal), loose (loose), strict (strict)]; |
Protocol | Yes | String | CC protection type, which is optional. Valid values: [http (HTTP CC protection), https (HTTPS CC protection)]; if this field is left empty, HTTPS CC protection will be used by default; if https is entered, the RuleId field is required; |
RuleId | Yes | String | Layer-7 forwarding rule ID (which can be obtained from the layer-7 forwarding rule API); |
Parameter Name | Type | Description |
---|---|---|
Success | SuccessCode | Success code |
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
https://dayu.tencentcloudapi.com/?Action=ModifyCCLevel
&Business=bgpip
&Id=bgpip-000000xe
&Level=default
&Protocol=https
&RuleId=rule-0000000x
&<Common request parameters>
{
"Response": {
"RequestId": "eac6b301-a322-493a-8e36-83b295459397",
"Success": {
"Code": "Success",
"Message": "Success"
}
}
}
This tool allows online call, signature authentication, SDK code generation and quick search of APIs to greatly improve the efficiency of using TencentCloud APIs.
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Was this page helpful?