Create a new rule.
Note: Changing a rule’s stage of execution from the default login_success can change the rule’s function signature to have user omitted.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Name of this rule.
^[a-zA-Z0-9]([ \-a-zA-Z0-9]*[a-zA-Z0-9])?$Code to be executed when this rule runs.
1Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
x >= 0Whether the rule is enabled (true), or disabled (false).
Rule successfully created.
Name of this rule.
ID of this rule.
Whether the rule is enabled (true), or disabled (false).
Code to be executed when this rule runs.
Order that this rule should execute in relative to other rules. Lower-valued rules execute first.
Execution stage of this rule. Can be login_success, login_failure, or pre_authorize.