Update a rule
Update an existing rule.
Documentation Index
Fetch the complete documentation index at: https://docs-dev.auth0-mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
ID of the rule to retrieve.
Body
Code to be executed when this rule runs.
1Name of this rule.
^[a-zA-Z0-9]([ \-a-zA-Z0-9]*[a-zA-Z0-9])?$Order 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).
Response
Rule successfully updated.
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.