
bsog9 (bsog9) asked a question.
I know that this report can be pulled manually as an admin, but I would like to create a report where I am able to see when users last logged into a certain application using the API for automation. From the API documentation, I've tried using List Users Assigned to App (https://developer.okta.com/docs/reference/api/apps/*list-users-assigned-to-application), but the information returned doesn't include Last Login info. How can I extract Last Login info using the API?

If you go to https://developer.okta.com/docs/reference/api/apps and do a page find for "List users assigned", it will take you to the code. There are a bunch of other API examples on that page, as well.