I want to automatize most common processes in bitbucket for our team account, like creating and modifying repositories, setting permissions and create\revoking keys. Realization of this task is on Python with using OAuth. All public SDKs to solve this task lead to one problem - unauthorized access. The OAuth account in Bitbucket created, using App password help access own account, but do not allow to create any repository at all with same 401 error. OAuth consumer configured in Bitbucket, but lack of the knowledge in how to check if it is ok.
Will be glad for some tips where to look the answer properly or some signs which can help to understand what I am doing wrong. OAuth 2 topic on Bitbucket didn’t help.