Configures the automatic frequency control threshold for a site.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The ID of the site. Call the ListSites operation to obtain this ID. |
123456**** |
| SiteVersion |
integer |
No |
The version of the site. For a site with version management enabled, this parameter specifies the version to which the configuration applies. The default value is 0. |
0 |
| Enable |
string |
Yes |
Specifies whether to enable automatic frequency control. Valid values:
|
on |
| Level |
string |
Yes |
The protection level. Valid values:
|
normal |
| ActionType |
string |
Yes |
The action to take on requests that trigger the control. Valid values:
|
js |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
| Enable |
string |
Indicates whether automatic frequency control is enabled. Valid values:
|
on |
| Level |
string |
The protection level. Valid values:
|
normal |
| ActionType |
string |
The action taken on requests that trigger the control. Valid values:
|
js |
Examples
Success response
JSON format
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
"Enable": "on",
"Level": "normal",
"ActionType": "js"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.