Update Entrypoint Ruleset
A 2-step recipe with Cloudflare. We can help you get access.
Recipe · 2 steps
Update Entrypoint Ruleset
with Cloudflare
Read a phase entrypoint ruleset and replace its rules.
- Read the current entrypoint ruleset for the phase to capture its version.
- Replace the entrypoint ruleset rules with a single rule, creating a new version.
What you'll need to have ready
- zoneId: The unique identifier of the zone.
- phase: The ruleset phase whose entrypoint will be updated (e.g. http_request_firewall_custom).
- ruleAction: The action the replacement rule applies (e.g. block, challenge).
- ruleExpression: The Cloudflare expression that triggers the replacement rule.
For your developer
Arazzo workflow cloudflare:update-entrypoint-ruleset, 2 operations: getZoneEntrypointRuleset → updateZoneEntrypointRuleset. Specs on APIs.io.