I need to know the Rest API to see the API Token of the current user espiry date. Do we have such Rest API. Please help me
Welcome @Naveen Kumar C
As Shannon has commented here: https://community.atlassian.com/t5/Confluence-questions/API-Token-expiration/qaq-p/1083429#:~:text=When%20referring%20to%20the%20API,Those%20expire%20after%207%20days , there is no expiration date for the API tokens.
Hi @Naveen Kumar C ,
I'm not sure if API for this exists but you might want to check the following developer documentation: https://developer.atlassian.com/cloud/admin/organization/rest/intro/#About
Also, if you're using Atlassian Guard (Standard or Premium), from the Admin Hub you can view all API tokens for managed users. However, I've just tested this and it seems that you cannot see the token expiry date, whether from the Admin Hub or when you export that data into CSV. More about viewing user API tokens can be found here: https://support.atlassian.com/organization-administration/docs/view-user-api-tokens/
Might be worth a shot to try to reach out Atlassian Support and ask them directly about it.
Cheers,
Tom
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.