Modify the request constraint action for all APIs

Kona Site Defender, App & API Protector with the Advanced Security module Update what action to take when any API request constraint triggers. Use alert to record the trigger of the event, deny to block the request, or customDenyId to apply a custom deny response.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

string
required

A unique identifier for a security 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

Sets various API constraint actions, which apply when an API constraint is triggered by a request.

string
enum
required

The action to assign to API request constraints, either alert, deny, or none. Use deny_custom_{custom_deny_id} to apply a custom action instead of Akamai's default. Run Modify a custom deny action to manage your custom deny actions. If the action is none, the rule is inactive in the policy.

Allowed:
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
URL
LoadingLoading…
Response
Choose an example:
application/json
application/problem+json