Rulesets
rulesets
Methods
Creates a ruleset.
Deletes all versions of an existing account or zone ruleset.
Fetches the latest version of an account or zone ruleset.
Fetches all rulesets.
Updates an account or zone ruleset, creating a new version.
Domain types
Phases
rulesets.phases
Methods
Fetches the latest version of the account or zone entry point ruleset for a given phase.
Updates an account or zone entry point ruleset, creating a new version.
Methods
Fetches a specific version of an account or zone entry point ruleset.
Fetches the versions of an account or zone entry point ruleset.
Rules
rulesets.rules
Methods
Adds a new rule to an account or zone ruleset. The rule will be added to the end of the existing list of rules in the ruleset by default.
Deletes an existing rule from an account or zone ruleset.
Updates an existing rule in an account or zone ruleset.
Domain types
Versions
rulesets.versions
Methods
Deletes an existing version of an account or zone ruleset.
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example: Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY
The unique ID of the ruleset.
The version of the ruleset.
The Account ID to use for this endpoint. Mutually exclusive with the Zone ID.
The Zone ID to use for this endpoint. Mutually exclusive with the Account ID.
Fetches a specific version of an account or zone ruleset.
Fetches the versions of an account or zone ruleset.