Modify a URL protection policy

All products Updates the specified URL protection policy.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

int64
required

A unique identifier for each URL protection policy.

Query Params
string

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Body Params
apiDefinitions
array of objects

The API endpoints to match on in incoming requests. This only applies to the api matchType.

apiDefinitions
bypassCondition
object

Exempts specific clients from being processed by the URL protection policy.

categories
array

The traffic categories to perform load shedding on when the origin traffic rate exceeds the load shedding threshold. If intelligentLoadShedding is set to true, specify one or more categories.

categories
int64

Uniquely identifies the security configuration.

integer

The security configuration version.

string

A description of the rate policy.

hostnamePaths
array of objects
length ≥ 1

The hostname and path combinations to match on.

hostnamePaths
boolean
required

Enable or disable intelligent load shedding. If enabled, traffic that matches the load shedding categories is eligible for shedding if the origin rate exceeds the load shedding threshold.

string
required

The rate policy's unique name.

string
enum

If matching on hostnamePaths, specify SINGLE to match on a hostname and path, or MULTIPLE to match on hostname and path combinations.

Allowed:
integer
required

The allowed hits per second during any five-second interval.

integer

Specify the threshold value, in hits per second, after which traffic can be shed. The sheddingThresholdHitsPerSec value must be between 25%-90% of the rateThreshold value. If you enabled intelligentLoadShedding, this value is required.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
application/problem+json