
204hf (204hf) asked a question.
i need to list the users those are not active for the past five months via an API not through reports
if it can be done. please do suggest an example filtering inactive user for past five months using API
eg : There will be some uses who dont use the application and signed-in for a long time
i need to filter and list all those users through an API call

Hi @204hf (204hf) , Thank you for reaching out to the Okta Community.
While the Okta Users API allows for some filtering when calling the "list users" command, the Filter function is limited to just certain properties: status, lastUpdated, id, profile.login, profile.email, profile.firstName, and profile.lastName.
Please see the following article for more details:
https://developer.okta.com/docs/reference/api/users/#list-users-with-a-filter