I want to have a page rule that will override an access rule.
For instance, if I have an access rule that requires a captcha challenge, I want all pages to get the captcha except a certain page rule.
So if my page rule will be *mydomain.com/not-secured/*
and you enter a page that matches that rule, you will not get a captcha challenge, even if you have an access rule that says you should.
Can you show me how to exclude the path with the given cURL example in the link?
curl -X POST “https://api.cloudflare.com/client/v4/user/firewall/access_rules/rules”
-H “X-Auth-Email: [email protected]”
-H “X-Auth-Key: c2547eb745079dac9320b638f5e225cf483cc5cfdda41”
-H “Content-Type: application/json”
–data ‘{“mode”:“challenge”,“configuration”:{“target”:“ip”,“value”:“198.51.100.4”},“notes”:“This rule is on because of an event that occured on date X”}’