You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Dear Community,
I would want to ask you if it is still possible to manage users/groups in Bitbucket Cloud via API v1.0. I know that v1 is deprecated almost 5 years ago, but inside the documentation I see it is still available for use, because there is no equivalent option for this in version 2.
If it is possible, what more than access token is necessary to access it, because when I try to get information about groups, I get the following error:
"Message: Token is invalid or not supported for this endpoint. "
The API requests which I'm trying are:
Hey Elena,
I can confirm that even though it is deprecated - the /1.0/groups endpoint is available for usage.
The easiest way to authenticate with the API is by using App Password, once you have created the App Password - you can substitute it in to your curl command, for example:
curl --request GET \
--url https://api.bitbucket.org/1.0/groups/{workspaceID} \
--user {username}:{AppPassword}
NOTE: You will need to replace the values in the curly braces with actual values, the braces should not be present in the final command either.
Cheers!
- Ben (Bitbucket Cloud Support)
Hello Ben,
Thank you a lot!
One last question, is it possible such an authentication to be reached by API token for Workspace?
Best regards,
Elena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Elena,
Unfortunately, as the 1.0 endpoint family is deprecated, repository access tokens (RATs) are not supported as these are a relatively new form of authentication.
The only supported authentication methods for this endpoint are as follows:
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.