Modify a malware policy

All products Update details for a malware policy.

Path Params
int64
required

A unique identifier for each configuration.

integer
required

A unique identifier for each version of a configuration.

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
string

The ID of a client list containing file hashes of specific files to allow.

string

The ID of a client list containing file hashes of specific files to block.

contentTypes
array of objects

The content types and encodings to match.

contentTypes
string

Descriptive text you provide about a policy.

hostnames
array of strings
required

The hostnames to match. This is where you want the malware detections to focus.

hostnames*
boolean
Defaults to false

Whether to log the name of the file that triggered an alert or deny action.

string
required

The name you assign to a malware policy.

paths
array of strings
required

The paths to match. You can use the ? and * wildcards anywhere in a path.

paths*
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