Modify an API request constraint's action

Kona Site Defender, App & API Protector with the Advanced Security module Update what action to take when the API request constraint triggers. This operation modifies an individual API constraint action. To use this operation, run List all API request constraints and actions and pick an API from the response list. Use alert to record the trigger of the event, deny to block the request, or none to take no action. Currently the only field in the API Request Constraints object is action.

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.

integer
required

A unique identifier for each API.

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
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
Response
Choose an example:
application/json
application/problem+json