You need to enable JavaScript to run this app.
Web Application Firewall

Web Application Firewall

Copy page
Download PDF
Rate limiting
SetSmartCCConfig
Copy page
Download PDF
SetSmartCCConfig
Configure the intelligent rate limiting switch, level, and action settings for the specified domain.​
Important note​
  • Total service API call limit: 1000 QPS​
  • Single account call limit: 50 QPS​
HTTP request​
  • Method: POST​
  • URL: https://waf.volcengineapi.com/?Action=SetSmartCCConfig&Version=2023-12-25​
Request parameters​
The table below lists only the unique request parameters for this API, as well as some common parameters. For more information, see Common parameters.​
Query​
Action String required Sample value: SetSmartCCConfig​
API name. The current API name is SetSmartCCConfig.​
​
Version String required Sample value: 2023-12-25​
API version. The current API version is 2023-12-25.​
​
​
Body​
ProjectName String Optional Sample value: default​
Project name, used to associate the current resource with a project. Only projects with permissions under the current identity can be associated. To obtain the project name, refer to the ListProjectResources API (to get the project resource list), or call the CreateProject API to create a new project. The default value is default.​
​
Action String Optional Sample value: block​
Enumeration values for the action to be taken. Supported values are as follows. No default value.​
  • observe: Observe;​
  • block: Block.​
​
CreateAt Integer Optional Sample value: 1717248000​
Configuration creation time, in Unix timestamp format.​
​
Domain String Optional Sample value: example.volcwaf001.com​
The target domain for which to configure the intelligent rate limiting switch, level, and action settings.​
​
Enable Integer Optional Sample value: 1​
The enable switch for intelligent rate limiting. Supported values are as follows.​
  • 0: Disabled;​
  • 1: Enabled.​
​
Level String Optional Sample value: default​
The level of intelligent rate limiting. No default value. Supported values are as follows.​
  • loose: Loose;​
  • default: Standard;​
  • strict: Strict.​
​
Region String Optional Sample value: cn-beijing​
The region where the cloud WAF instance is located.​
  • North China 2 (Beijing): cn-beijing​
  • East China 2 (Shanghai): cn-shanghai​
  • South China 1 (Guangzhou): cn-guangzhou​
  • Hong Kong, China: cn-hongkong​
  • Asia Pacific (Johor): ap-southeast-1​
  • Asia Pacific (Johor):ap-southeast-1​
  • Asia Pacific (Jakarta):ap-southeast-3​
  • China (Hong Kong):cn-hongkong​
  • Edge:byteplus-global​
​
UpdateAt Integer Optional Sample value: 1719000000​
Configuration update time, in Unix timestamp format. Not required, no default value.​
​
​
Response parameters​
This API has no unique response parameters. For more information, see Response structure.​
Error codes​
You can visit Common error codes for more information about error codes.​

Request

POST https://open.volcengineapi.com/?Action=SetSmartCCConfig&Version=2023-12-25&ProjectName=default
X-Date: 20230711T035055Z
Authorization: HMAC-SHA256 Credential=AKLTNGU0OGEyMT***/20230711/cn-beijing/waf/request, SignedHeaders=content-type;x-content-sha256;x-date, Signature=da4fac562d00f41ad8***

{
  "Action": "observe",
  "CreateAt": 1,
  "Domain": "example.volcwaf001.com",
  "Enable": 1,
  "Level": "123456",
  "Region": "cn-beijing",
  "UpdateAt": 1
}

Response

{
    "ResponseMetadata": {
        "RequestId": "20231009200242CE25C146B591DDCE****",
        "Action": "SetSmartCCConfig",
        "Version": "2023-12-25",
        "Service": "waf",
        "Region": "cn-beijing"
    },
    "Result": null
}
Last updated: 2026.05.26 13:02:19