All Products
Search
Document Center

Edge Security Acceleration:SetAutomaticFrequencyControlConfig

Last Updated:Mar 24, 2026

Configures the automatic frequency control threshold for a site.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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: Enables automatic frequency control.

  • off: Disables automatic frequency control.

on

Level

string

Yes

The protection level. Valid values:

  • loose: Loose protection.

  • normal: Normal protection.

  • strict: Strict protection.

normal

ActionType

string

Yes

The action to take on requests that trigger the control. Valid values:

  • observe: Monitors the requests.

  • deny: Blocks the requests.

  • js: Issues a JS challenge.

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: Enabled.

  • off: Disabled.

on

Level

string

The protection level. Valid values:

  • loose: Loose protection.

  • normal: Normal protection.

  • strict: Strict protection.

normal

ActionType

string

The action taken on requests that trigger the control. Valid values:

  • observe: Requests are monitored.

  • deny: Requests are blocked.

  • js: JS challenges are issued.

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.