Actions56
- Repository Actions
- Issue Actions
- Pull Request Actions
- Organization Actions
- User Actions
- Comment Actions
- Label Actions
- Milestone Actions
- Release Actions
- Branch Actions
- File Actions
Branch → Delete
AI-generatedSummary
Delete the specified branch from a repository on Codeberg.
Inputs
- Authentication — Choose the authentication method: Access Token or OAuth2.
- Repository Owner (required) — Owner of the repository to delete the branch from.
- Repository Name (required) — Name of the repository to delete the branch from.
- Branch Name (required) — The name of the branch to delete.
Output shape
a single JSON object indicating success
Returns JSON with a success property set to true upon successful deletion. No additional data is returned.
Examples
Example 1: Delete a branch named 'feature/my-feature' from repository 'my-repo' owned by 'my-org'
Set 'Repository Owner' to 'my-org', 'Repository Name' to 'my-repo', and 'Branch Name' to 'feature/my-feature'.