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.
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.