Skip to main content
PATCH
Toggle a firewall 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 firewall rule

Available options:
enable,
disable
rule_id
integer
required

The firewall rule ID

Response

Successful Response