Retrieve a filtered list of rules. Accepts a list of fields to include or exclude.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Page index of the results to return. First page is 0.
x >= 0Number of results per page.
0 <= x <= 100Return results inside an object that contains the total result count (true) or as a direct array of results (false, default).
Optional filter on whether a rule is enabled (true) or disabled (false).
Comma-separated list of fields to include or exclude (based on value provided for include_fields) in the result. Leave empty to retrieve all fields.
^((name)|(enabled)|(script)|(order)|(id)|(stage))(,((name)|(enabled)|(script)|(order)|(id)|(stage)))*$Whether specified fields are to be included (true) or excluded (false).
Rules successfully retrieved.
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.