<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
What Operators are Supported by Okta Rest API
Okta Identity Engine
Administration
Overview

This article describes the different logic operators that are supported by Okta's Rest API.

Applies To
  • Okta Classic Engine
  • Okta Identity Engine (OIE)
Solution

Operator

Description

Behavior

eq

equal

The attribute and operand values must be identical for a match.

ge

greater than or equal

If the attribute value is greater than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.

gt

greater than

If the attribute value is greater than the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.

le

less than or equal

If the attribute value is less than or equal to the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.

lt

less than

If the attribute value is less than the operand value, there is a match. The actual comparison depends on the attribute type. String attribute types are a lexicographical comparison and Date types are a chronological comparison.

ne

not equal

If the attribute value does not match the operand value, there is a match.

pr

present (has value)

If the attribute has a non-empty value or if it contains a non-empty node for complex attributes, there is a match.

sw

starts with

The entire operand value must be a substring of the attribute value that starts at the beginning of the attribute value. This criterion is satisfied if the two strings are identical.


Related References

Loading
What Operators are Supported by Okta Rest API