Is there an API endpoint that allows us to programmatically remove members from a workspace? We want to automate the process of deleting workspace members.
Hi @cm devops,
There are two types of user access:
For group access, if you haven't moved your administration from Bitbucket Cloud to admin.atlassian.com, you can use the groups endpont (see section DELETE a member)
If you have moved your administration from Bitbucket Cloud to admin.atlassian.com, you will need to use the Cloud Admin Rest APIs:
For direct repo access, you can use the following endpoint to remove a user from a repo:
You can first use the following endpoint to list users that have direct access to each of your repos:
Please feel free to reach out if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.