Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

Ryan Bobrowski 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

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
AUG Leaders

Atlassian Community Events