Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can we bulk-invite users to a Bitbucket group after app-password retirement?

NVIDIA DLI
August 31, 2026

We manage private teaching-material repositories in the nvidia-dli Bitbucket Cloud workspace. The teachingkits group has read access to six private repositories, and our prior process was to add a list of users from a text file to that group via a script.

Our old script used this legacy endpoint with an app password:

PUT https://api.bitbucket.org/1.0/users/nvidia-dli/invitations

with:

{"email":"user@example.com","group_slug":"teachingkits"}

After moving to a scoped Bitbucket API token (admin:repository:bitbucket and admin:workspace:bitbucket), the endpoint returns HTTP 403. We also tested both Basic and Bearer authentication.

I found BCLOUD-24073, which states that the legacy /1.0/invitations endpoint does not support API-token authentication.

Is there a supported, scriptable replacement for bulk-inviting email addresses to a Bitbucket group or private repositories? If not, is there a migration path or workaround planned for Bitbucket Cloud Free workspaces?

We need to keep the repositories private; manually adding each user to the group is our current workaround.

0 answers

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