Delete Branch
deprecated
Delete a branch from the repository. The default branch is protected and cannot be deleted through this endpoint.
Deprecated: Use /api/repos/{repo_name}/branches instead.
DELETE
Delete Branch
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Delete a branch by name. The server resolves the current branch tip before deleting, so the caller does not need the branch SHA.
Response
Branch deletion result.
Delete Branch