<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
0D50Z00008G7UgrSAFOkta Classic EngineIntegrationsAnswered2024-04-26T15:40:21.000Z2018-07-26T21:17:09.000Z2018-07-26T21:17:09.000Z
Is there an API call to get Last Used time for a MFA factor?
I'm trying to get below information with API calls: Last Used date for a user's MFA factors. The screenshot below is from the MFA usage report.

 

I've tried GET /api/v1/users/${userId}/factors/${factorId}

GET /api/v1/users/${userId}/factors/

GET /api/v1/users/${userId}/factors/catalog

none of them gives the desired information.

 

I've also tried GET /api/v1/events?filter=target.id eq "${userId}" and action.objectType eq "core.user.factor.attempt_success".

The Last Used timestamp can be obtained from this one with some steps of processing, but it has a duration limit, e.g., the records from 5 years ago won't be returned.

 

Is there an API call that returns all records of users' last used timestamp of MFA factors?

 

Thanks!

 

0EM0Z0000002FRJ

  • XiaoyaW.63654 (Customer)

    Thank you for your reply. Is there any other API call that will give the information like shown in the screenshot, other than the events calls?
This question is closed.
Loading
Is there an API call to get Last Used time for a MFA factor?