Modify a malware policy action

All products Update the actions in a malware policy.

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 malware 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

Lists actions you can update for each malware policy.

string
enum
required

Specifies the action the malware policy triggers. 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, it isn't associated with the policy.

Allowed:
string
enum
required

Specifies the action to take when the file is outside the 5 MB scan limit. 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. When the action is none, it behaves as if you aren't using malware protections.

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