简体   繁体   中英

How to get token expiration date from ADO using token API?

I want to get the token expiration date or permission revoke for specific ado token, how can we do that? I am referring the API and it gives me the list of PAT with date. But don't which one should I use for checking repository expiration date.

I am also referring the MS ADO API Documentation . But when call the API mention in document then gettting unauthorized error, I am passing my PAT and using Basic Auth. why getting unauthorized error, while above mention api work?

How can I identify the repository access expiration date using above API and how to use API mention in document?

There are no direct API available using but below post is helpful to resolve the issue Get expiration date using PAT

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM