The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Alex Koxaras -Relational-
Community Champion
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
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events