Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Removing prior admin from bitbucket

Carlos Yanez
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!
May 31, 2023

Hi Bitbucket Community,


I have recently given admin access into my organisation's bitbucket space, taking admin responsibilities from a colleague - this colleague created the org's workspace but his account was there only for admin purposes.


Since I've taken over the admin role we want to remove his account from the workspace. However we are getting the following error message during the removal process:

Unexpected token '<', "<!DOCTYPE "... is not valid JSON


What are missing here?


1 answer

1 accepted

1 vote
Answer accepted
Patrik S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 1, 2023

Hello @Carlos Yanez and welcome to Atlassian Community!

Checking for the email you have used to post this question, your bitbucket account currently has access to only one workspace which the masked name is c***_********a (I'm sharing it masked as this is public forum).

That workspace is a Personal workspace that is attached to a user account. In the past, when a Bitbucket account was created, bitbucket would also automatically create a Personal workspace attached to that account. This is not the case anymore, and workspaces are no longer automatically created for users. They need to be manually created and are not attached to an account anymore (see Difference between shared and personal workspaces).

While there's no feature to convert a personal workspace into a shared workspace, you have the option to create a new workspace and Transfer the repositories to this new shared workspace. This new workspace will be owned by any user that is part of the Administrator group.

So in this case, I would suggest creating a new workspace and transferring the repositories from the original workspace to the newly created workspace.

If you want to use the same ID, you will first need to change the workspace ID of the original workspace to something else, like <current workspaceID>_old, so the original ID will be available to be used when you create a new workspace.

Hope that helps! Let me know in case you have any questions.

Thank you, @Carlos Yanez !

Patrik S  

Suggest an answer

Log in or Sign up to answer
Site Admin
AUG Leaders

Atlassian Community Events