Make a rule#
Name the rule, set its conditions, build its actions, and save it from the editor in the right pane.
To create a rule, select the + button in the Rules sub-tab sidebar. The rule editor opens in the right pane.
What the rule editor holds#
The editor is a column of collapsible sections.
- Information: the rule's name. Pick something more descriptive than 'Rule 1', for example
Strip tracking headersorForce staging API. The sidebar shows this name. - Conditions: the conditions that decide which requests the rule applies to.
- Actions: the pipeline of actions that runs when a request matches.
- Options: the rule's apply-to setting and enabled toggle.
Save the rule#
The footer at the bottom of the editor shows Ready to save rule when the rule has both a name and at least one action. Otherwise it shows Name and at least one action required. The Create button sits in the header at the top right, and it enables only when the footer says ready. The same button reads Update when you edit an existing rule.
A rule with no conditions matches every request. The editor allows this, but it usually means you should split the rule into something narrower.
Cancel a new rule#
Select the Cancel button next to Create to discard the rule in progress and clear the editor.