---
title: "Delete a branch"
method: DELETE
path: "/projects/{project_id}/branches/{branch_id}"
tags: ["Branches"]
---

# Delete a branch

`DELETE /projects/{project_id}/branches/{branch_id}`

## Request

- Base URL: `https://api.lokalise.com/api2`
- URL: `https://api.lokalise.com/api2/projects/{project_id}/branches/{branch_id}`
- Auth: API key in header `X-Api-Token`

Deletes a configured branch in the project. Requires admin right.

Requires <code>write_projects</code> OAuth access scope.

## Path parameters

- `project_id` string, required
- `branch_id` number, required

## Response `200`

OK

- object
  - `project_id` string
  - `branch_deleted` boolean

---

[API](https://skmtc.dev/lokalise/apis/projects-with-branches.md) - [All operations](https://skmtc.dev/lokalise/apis/projects-with-branches/llms.txt) - [OpenAPI document](https://skmtc.dev/lokalise/apis/projects-with-branches/revisions/7ed3f978a361?raw)
