I want to give access to a user in my workspace through java code, which api should i use for this

Sehjot Singh Pannu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 10, 2025

 

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?

1 answer

0 votes
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2025

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events