Delete a branch
One step with Bitbucket. We can help you get access.
Get something done
Delete a branch
with Bitbucket · Software Construction Management
Use Bitbucket: its Bitbucket Refs API lets you delete a branch in a single step (DELETE /repositories/{workspace}/{repo_slug}/refs/branches/{name}). capabilities.work can help you get signed up and connected.
- How do I delete a merged branch?
- Can I delete the main branch through the API?
Say it to your AI assistant
- Delete branch {name} from {workspace}/{repo_slug}.
- Remove the stale branch {name} in {repo_slug}.
For your developer
DELETE /repositories/{workspace}/{repo_slug}/refs/branches/{name} in Bitbucket Refs API. Full spec on APIs.io.