Cloudflare Docs
WAF
Edit this page
Give us feedback
Set theme to dark (⇧+D)

Work with custom rulesets using the API

Use the Rulesets API to work with custom rulesets using an API.

To deploy a custom ruleset in your account, follow these general steps:

  1. Create a custom ruleset, if it does not exist.
  2. Deploy the custom ruleset to your account.

For more information, refer to Work with custom rulesets in the Ruleset Engine documentation.