Forums

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

To get the HTTP access token we use the curl. What is the baseurl hat we have to use in the curl?

Mohammed Muthahhar November 6, 2022

To get the http access token for projects in Bitbucket server, we use the curl

curl --request GET \ --url 'http://{baseurl}/rest/access-tokens/latest/projects/{projectKey}' \ --header 'Accept: application/json'

 

What is the {baseurl} we have to use to get it??

 

 

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.
November 7, 2022

Hi Mohammed,

The base URL is whatever is set in Bitbucket Server as the base URL. It is the URL that you use to access the Bitbucket Server UI.

Cheers,

Christian

Premier Support Engineer

Atlassan

Suggest an answer

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

Atlassian Community Events