I am trying to automate creation of workspaces and projects in Bitbucket Cloud through REST API and I need to set the owner/admin during the creation process.
I have a service user with generated app password and when I create any of those the owner/admin is set for service user, which requires to have some admin to go manually to UI and manually change the permission, which is contraproductive.
Is it even possible?
Hello,
I'm afraid that it is not possible to create a workspace via API in Bitbucket Cloud. The workspaces endpoint has only a GET method:
It is possible to create projects via API:
However, projects do not have owners/admins, only workspaces do.
I would like to ask if you could please clarify what you are describing in the following paragraph?
I have a service user with generated app password and when I create any of those the owner/admin is set for service user, which requires to have some admin to go manually to UI and manually change the permission, which is contraproductive.
It is not very clear to me a) what you are doing and b) what is the problem/issue that arises and that you need to solve.
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.