# Branches

LingoHub API V2 (Beta) · [all operations](https://developers.lingohub.com/reference/v2.md)

Manage branches within a project. Branches isolate translation work; each project has exactly one default branch that cannot be deleted.

## Operations

- [`GET /v2/projects/{projectId}/branches`](https://developers.lingohub.com/reference/v2/operations/listbranches.md): List branches
- [`POST /v2/projects/{projectId}/branches`](https://developers.lingohub.com/reference/v2/operations/createbranch.md): Create a branch
- [`POST /v2/branches/{branchId}/set-default`](https://developers.lingohub.com/reference/v2/operations/setdefaultbranch.md): Set the default branch
- [`GET /v2/branches/{branchId}`](https://developers.lingohub.com/reference/v2/operations/getbranch.md): Retrieve a branch
- [`DELETE /v2/branches/{branchId}`](https://developers.lingohub.com/reference/v2/operations/deletebranch.md): Delete a branch
- [`PATCH /v2/branches/{branchId}`](https://developers.lingohub.com/reference/v2/operations/updatebranch.md): Rename a branch
