OpenAPI JSON

API resource

Firewall Activation

Firewall Activation controls whether one WordPress site uses firewall protection. Use Firewall Activation to turn firewall protection on or off and confirm whether standard and advanced firewall protection are active after the change.

2 operations · Each operation has a stable reference URL.

POST

Enable site firewall

Turns firewall protection on for the selected site and returns the current

/sites/{site_id}/security/firewall/enable
POST

Disable site firewall

Turns firewall protection off for the selected site and returns the current

/sites/{site_id}/security/firewall/disable