I want to give access to a user in my workspace through java code, which api should i use for this. I am unable to get any api for doing so. I want this to be handled through my code only, can any please help for this?
Hello @Sehjot Singh Pannu
and welcome to the Community!
Checking internally I can see that both workspaces you have access to were created recently, so they are fully managed through your Organization on Admin Hub (https://admin.atlassian.com).
This means that giving a user access to your bitbucket cloud workspace involves inviting that user to your organization and granting that user product access to Bitbucket Cloud.
Since these steps are executed at the organization level, you may find the below API endpoints useful for automating that task :
I hope this information helps! Should you have any questions, let us know!
Thank you, @Sehjot Singh Pannu !
Patrik S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.