It looks like these features used to be supported in the old 1.0 API, but are now deprecated. I tried to use them like the still supported groups and I received an error:
{"message": "Resource not found", "detail": "There is no API hosted at this URL.\n\nFor information about our API's, please refer to the documentation at: https://developer.atlassian.com/bitbucket/api/2/reference/"}
I don't see any features on the 2.0 API that correlate to creation/deletion of users, or how to view what groups/roles a user has access to.
Any help would be greatly appreciated.
Hello @Janek Uchman,
As this page declares, groups endpoint of API v1 is still active until Atlassian Cloud Admin API is supported in API v2.
I just checked some functionality of the groups endpoint myself, and it worked fine. Can you double check the URLs, methods and headers you're making requests with? You can also just dump your request details here, and I'll do my best to help you sort it out.
Hope this helps.
Cheers,
Daniil
Hi @Daniil Penkin
Thanks for the response, but just to be clear the groups API is working fine, what I'm trying to do is create new users under a team, or delete users from a team.
In the 1.0 API creating a user for a team would be:
/REST/API/1.0/ADMIN/USERS?NAME&PASSWORD&DISPLAYNAME&EMAILADDRESS&ADDTODEFAULTGROUP&NOTIFY
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.