GitHub API to track unused or old tokens

Hi, Is there an API to find out age/last used time of personal tokens for users in my organization? I want to be able to tell the users to rotate the token periodically based on this information.

Thanks

Unfortunately, no, there isn’t an API to allow you to see any information about another user’s personal access tokens. However, you could periodically remind them to audit their tokens by pointing them to https://github.com/settings/tokens and suggesting they revoke any tokens that they don’t recognize or haven’t used lately.

Let us know if you have more questions.

Hello, I’d be interested in doing something similar and wanted to check if there was any chance a similar API has been developed in the meantime.
Thanks