Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I set an expiry to Oauth credential under a Service Account?

alvina_hr
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!
August 14, 2026

My company mandates 90 date expiration to service account credentials. So I am checking if I can set an expiry to Oauth credential under a Service Account?

1 answer

2 votes
Florian Bonniec
Community Champion
August 14, 2026

Hi @alvina_hr 

 

No, Oauth 2.0 (2LO) provide a Client ID and Secret that do not expire except if you revoke it. These information allow you to request an access token that expire after 1h. A new token can then be requested using Client ID and Secret.

If you want to set a expiration period/date you will have to use API Token.

I do not think there is any API to delete service account Client ID and Secret.

 

Regards

 

 

 

Suggest an answer

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

Atlassian Community Events