| Field | Type | Required | Description | Example |
|---|---|---|---|---|
pending |
Optional<Boolean> | ➖ | Whether to return pending users. Default: false (all users) |
false |
ids |
List<String> | ➖ | A list of up to 100 user IDs. When provided, other parameters are ignored. | |
emails |
List<String> | ➖ | A list of up to 100 user Emails. When provided, other parameters are ignored. | |
prefix |
Optional<String> | ➖ | Returns users where the name begins with the specified case-insensitive string. | john |
subAccountId |
Optional<String> | ➖ | Only returns users who have access to the specified account. | |
lastLogin |
Optional<Boolean> | ➖ | Specifies a date range for last login. | |
from |
LocalDate | ➖ | All last logins after this date, given in the format: yyyy-mm-dd. |
2023-01-01 00:00:00 +0000 UTC |
to |
LocalDate | ➖ | All last logins before this date, given in the format: yyyy-mm-dd. |
2024-12-31 00:00:00 +0000 UTC |
unionType |
Optional<UnionType> | ➖ | Whether to return users who last logged in within the specified date range (include) or those who didn't last log in within the range (exclude). Possible values: include, exclude. Default: include. |
|
sortOrder |
Optional<QueryParamSortOrder> | ➖ | Control the order of returned users. Possible values: desc (default), asc. |
|
sortBy |
Optional<QueryParamSortBy> | ➖ | N/A | |
page |
Optional<Long> | ➖ | N/A | |
pageSize |
Optional<Long> | ➖ | N/A |