capabilities.work

Block requests from a user agent

One step with Cloudflare. We can help you get access.

Get something done

Block requests from a user agent

Use Cloudflare: its Cloudflare User Agent Blocking rules API lets you block requests from a user agent in a single step (POST /zones/{zone_id}/firewall/ua_rules). capabilities.work can help you get signed up and connected.

  • How do I block all requests from a known bot user agent?
  • Can I pause a new user agent rule when I create it?
Say it to your AI assistant
  • Create a user agent blocking rule in zone {zone_id} with {configuration} in {mode} mode.
  • Add a paused user agent rule {configuration} in zone {zone_id} with mode {mode}.
For your developer

POST /zones/{zone_id}/firewall/ua_rules in Cloudflare User Agent Blocking rules API. Full spec on APIs.io.