The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How to automatically remove users from Bitbucket repositories after offboarding?

Roman Panchoshnyi
June 4, 2025

Hi,
In our company, when employees leave, we want to make sure their access to Bitbucket repositories is removed as part of the offboarding process.

Is there a way to automatically remove users (or groups) from repositories to prevent unnecessary billing and maintain security?

Are there any APIs or recommended practices for handling this efficiently at scale?

Thanks in advance!

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 5, 2025

G'day, @Roman Panchoshnyi 

Welcome to the community!

To remove a user from your workspace, go to Workspace settings > User on plan. Find the user, click the "..." next to their name, and select remove. This will permanently remove the user's access to your workspace and repository.

Please note that an API endpoint for this action does not exist, so you will need to manually follow the steps outlined above to remove the user.

Regards,
Syahrul

Roman Panchoshnyi
June 6, 2025

.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events