Skip to main content
PATCH
Set domain policy settings

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234_abcdef

Path Parameters

domain_id
integer
required

The domain ID

policy_id
string
required

The ID of the policy to toggle

Body

application/json

Configurable settings of a security rule (a.k.a. policy) on a domain.

mode
boolean
required

Indicates if the security rule is active

Response

Successful Response

Configurable settings of a security rule (a.k.a. policy) on a domain.

mode
boolean
required

Indicates if the security rule is active