This question is in reference to Atlassian Documentation: repository Resource 1.0
I manage to list the branches using: https://confluence.atlassian.com/bitbucket/repository-resource-1-0-296095202.html#repositoryResource1.0-GETlistofbranches
But is it possible to delete a branch using the API? How?
Hi Alexander,
Unfortunately, the refs API is read-only for now. We haven't gotten around to adding write functionality into the refs API. I'm sorry for any inconvenience that has caused.
AI is reshaping the dev experience, with faster builds but adding more friction. See what 3,500 developers and managers say about productivity, tools, and team alignment in Atlassian’s State of Developer Experience report 2025.
Explore the report
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.