capabilities.work

Toggle WAF Setting

A 3-step recipe with Cloudflare. We can help you get access.

Recipe · 3 steps

Toggle WAF Setting

Read, change, and re-read the zone WAF setting.

  1. Read the current zone WAF setting before changing it.
  2. Change the zone WAF setting to the requested value.
  3. Read the WAF setting back to confirm the change was applied.
What you'll need to have ready
  • zoneId: The unique identifier of the zone.
  • value: The desired WAF setting state (on or off).
For your developer

Arazzo workflow cloudflare:toggle-waf-setting, 3 operations: zone-settings-get-web-application-firewall-(-waf)-setting → zone-settings-change-web-application-firewall-(-waf)-setting → zone-settings-get-web-application-firewall-(-waf)-setting. Specs on APIs.io.