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 edited

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

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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, compass, developer experience, devex, platform engineering, internal developer platform, component catalog, atlassian learning, productivity tools, developer productivity, software architecture, compass webinar, engineering teams

Discover how Compass drives DevEx and productivity at Atlassian 🏃🏻‍♂️

Learn why Compass was built to tackle dev experience at scale. See how Atlassian uses it to boost visibility, reduce cognitive load, and drive consistency—plus tips to get started and customize your IDP for stronger team engagement.

Join the webinar ✨
AUG Leaders

Atlassian Community Events