设置站点智能限频阈值。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SiteId |
integer |
是 |
站点 ID,可通过调用 ListSites 接口获取。 |
123456**** |
| SiteVersion |
integer |
否 |
站点的版本号。开启了版本管理的站点,可以通过该参数指定配置生效的站点版本,默认为版本 0。 |
0 |
| Enable |
string |
是 |
开关。取值:
|
on |
| Level |
string |
是 |
防护等级。取值:
|
normal |
| ActionType |
string |
是 |
处置动作。取值:
|
js |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
| Enable |
string |
开关。取值:
|
on |
| Level |
string |
防护等级。取值:
|
normal |
| ActionType |
string |
处置动作。取值:
|
js |
示例
正常返回示例
JSON格式
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
"Enable": "on",
"Level": "normal",
"ActionType": "js"
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | 输入参数规范校验失败。 |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | 调用服务失败,请稍后重试或联系客服咨询详情。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。