Previously, we were able to log into BitBucket Cloud API with the team account credentials, but this seems to have been disabled. We looked into using an individual account, but there does not appear to be a way to fork a repository, and have the owner set as the team.
Version 2 of the API doesn't appear to have the ability to fork a repo (closest is only showing forks). Version 1 of the API states "Forks a new repository under the account of the currently authenticated user.".
There does not appear to be any API at all for transferring ownership to the team account either.
It would be best to still be able to use the API under the team account, rather than needing to fork it in an individual account and attempt to transfer ownership.
How can we accomplish the said task given the present APIs?