As per
https://developer.atlassian.com/server/bitbucket/rest/v910/api-group-authentication/#api-access-tokens-latest-projects-projectkey-repos-repositoryslug-put
There are several endpoints available to create repository, project and user-level access tokens. However, it seems like one can't use an access token to create/update another access token.
In this cases, what authentication method is required to use these API endpoints?
I tried bearer token with HTTP token and username with HTTP token in postman and they both seem to be not working as I got the following error:
Hi Zizhan,
The only authentication method for administrative endpoints is Basic authentication with username and password.
Cheers,
Christian
Premier Support Engineer
Atlassian
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.