Problem Definition
When creating a new repo with the following endpoint:
https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D#post
it is not possible to set the main branch of a repo.
Suggested Solution
Allow users to set the main branch of a repo when they create a new repo via API.