Skip to main content
POST
Toggle firewall

Authorizations

Authorization
string
header
required

Path Parameters

server
string
required

Body

application/json
enable
boolean
required

Set to true to enable the firewall, false to disable it. Disabling is only permitted for whitelisted servers.

Example:

true

Response

Firewall state updated successfully.

status
boolean
Example:

true

message
string
Example:

"Firewall enabled successfully"

enabled
boolean

Current firewall state after the toggle.

Example:

true