Hi all,
I was able to create a bitbucket project by REST API, using the following:
/rest/api/1.0/projects [POST]
With the following body:
{"key": "TEST", "name": "TestProject", "description": "Test"}
And using the Basic Authentication.
Now, I create a Personal Access Token for a Bitbucket user admin and I'm trying to call the same REST api to create another project using the Personal Access Token but in this case I receive an error 401 Unauthorized: You are not permitted to access this resource.
How could I solve this problem?
Thanks