API: Update the branching model config for a project

kadelyst.io December 10, 2022

https://developer.atlassian.com/cloud/bitbucket/rest/api-group-branching-model/#api-workspaces-workspace-projects-project-key-branching-model-settings-put

 

Created apppassword with every single permission and calls to this method still result in 403 forbidden

1 answer

1 accepted

1 vote
Answer accepted
Alex Koxaras _Relational_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 11, 2022

Hi @kadelyst.io and welcome to the community,

According to the API, 403 means that the authenticated user does not have admin access to the project. Can you confirm that the user you run this http request has access to the specific bitbucket project?

kadelyst.io December 11, 2022

Yes

"Created apppassword with every single permission"

I am successfully using many other api methods, this one just seems to be having the issue.

Just was wondering if maybe it's a known issue, otherwise likely my code

kadelyst.io December 11, 2022

Ah, copy/paste laziness, the method is PUT not POST

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events