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.
Documentation Index
Fetch the complete documentation index at: https://code.storage/docs/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Delete a branch by name. The server resolves the current branch tip before deleting, so the caller does not need the branch SHA.
Branch deletion result.