Toggle WAF Setting
A 3-step recipe with Cloudflare. We can help you get access.
Recipe · 3 steps
Toggle WAF Setting
with Cloudflare
Read, change, and re-read the zone WAF setting.
- Read the current zone WAF setting before changing it.
- Change the zone WAF setting to the requested value.
- 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.