Using the API to create and add blacklisted ip's

im new to Cloudflare. If this has been discussed please direct me to the correct thread. Can the IP access list be used to block/blacklist ip’s, where we could append when we see an offender? ie does there have to be one access rule per IP, or can we progammatically append to one list?

Thanks very much.


Alternatively you could configure firewall rules, where you have one expression of this type

ip.src in {}

and you automatically update its filter via