Do we get the API token expiry date through rest API

Naveen Kumar C
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2024

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

2 answers

1 vote
Nikola Perisic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 24, 2024
0 votes
Tomislav Tobijas _Koios_
Solutions Partner
Solution Partners provide consulting, sales, and technical services on Atlassian products.
November 24, 2024

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events