Skip to main content
PATCH
Toggle a custom rule

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

action
enum<string>
required

Enable or disable a custom rule

Available options:
enable,
disable
rule_id
integer
required

The custom rule ID

Response

Successful Response