This example updates several firewall rules using a single API call.
You can include up to 25 rules in the JSON object array (-d
flag) to update as a batch. The batch is handled as a transaction.
This example updates the firewall rule with ID {rule_id}
.
You must include the following fields in the request body:
All other fields are optional.
Thank you for helping improve Cloudflare's documentation!