Create a policy

Creates a new policy.

Path Params
integer
required

A unique identifier for the configuration.

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

The security policy to assign to a site. You can configure the accepted use policy (AUP) and set responses for known and suspected threats under specified categories.

aupSettings
array
required
length ≥ 0

Contains the acceptable use policy settings.

aupSettings*
basicSettings
object
required

Specifies the basic policy settings.

string
required
length ≥ 1

A description of the policy that you provide.

string
required
length ≥ 1

The name of the policy.

securitySettings
array of objects
required
length ≥ 0

Lists the policy security settings.

securitySettings*
sites
array of integers
required
length ≥ 0

Lists associated site IDs.

sites*
Responses

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