WAF Tools - API Access

Is there a way to via API add or remove IP’s from WAF tools?

WAF tools is located at Cloudflare url ending /security/waf/tools


Yes, there are a few endpoints to List, Create, Update etc the IP addresses in Access IP Rules:

Yeah, but those endpoints don’t have the option to block on all accounts…

The endpoint I linked to is specifically meant to be used for the whole account.

These rules apply to all the zones in the account.

If you check the sidebar menu, you’ll see the equivalent endpoints for a zone.

Works like a charm :slight_smile:

1 Like