Jira api token expiry

durgaprasad kinthada December 1, 2020

Hi team,

Can we set expiry time for jira api token. If so please suggest.

 

Capture.PNGThanks,

Durga.

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 2, 2020

Hi Durga,

API tokens for typical use in Jira Cloud don't have a finite lifespan, or a mechanism to set when they will expire. They will be valid until the user account who issued them is deactivated, or they are revoked. You can manually revoke them on the API tokens page in your account: https://id.atlassian.com/manage-profile/security/api-tokens

It should be noted that organizational admin API tokens are only valid for 7 days, but this is a separate API from what you would use to interact with Jira data (it's for adding/updating users across your whole site). Not what you need here, but worth mentioning to prevent confusion.

Cheers,
Daniel

g.hari February 16, 2021

@Daniel Eads Is there a way for say an Admin to Query and find API tokens that are older than say 6 months - so that they can be centrally deactivated. Or some mechanism to prompt users to refresh these at a set interval?

Also what is the best screen for an admin to be able to see all API tokens in use.

 

regads

Govind 

Suggest an answer

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

Atlassian Community Events