Path Parameters
| Parameter | Type | Description |
|---|---|---|
team | Required | Team or organization name |
repo | Required | Repository name |
branchName | Required | Name of the branch to remove |
JWT Requirements
- Requires
git:writescope - JWT must include the repository in the
repoclaim
Response
Notes
- This is a soft delete operation - the branch data is preserved in long-term storage
- The branch can potentially be restored later
- This does not affect the underlying commits or file history
Error Responses
| Status | Description |
|---|---|
404 Not Found | Branch doesn’t exist |
401 Unauthorized | Invalid JWT or missing git:write scope |