The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Is it possible to use the API to generate an HTTP Access Token?

Ryan Bobrowski
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!
July 20, 2022

Hello, wondering if it's possible to use the API to generate an HTTP Access Token (Bitbucket Server / Data Center)?  If we are applying an expiry to these tokens and they are used by other SASS applications to connect to Bitbucket, it would be nice to use the API to automatically generate them and update the other app.

If not, what's the typical flow for dealing with rotating tokens?

Thanks!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 21, 2022

Hi Ryan,

Yes, there is a REST API for tokens, see https://docs.atlassian.com/bitbucket-server/rest/7.21.0/bitbucket-access-tokens-rest.html

Cheers,

Christian

Premier Support Engineer

Atlassian

TAGS
AUG Leaders

Atlassian Community Events