---
title: "POST /branches/delete"
method: POST
path: "/branches/delete"
tags: ["branches"]
---

# POST /branches/delete

`POST /branches/delete`

Deletes a branch by id.

## Headers

- `X-Phantombuster-Org` string

## Request body

- object
  - `id` string, required — Id of the branch to delete.

## Response `200`

Branch deleted successfully.

## Other responses

- `400` — No branch exists with the provided id.

---

[API](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2.md) · [All operations](https://skmtc.dev/phantombuster/apis/phantombuster-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/phantombuster/phantombuster-api-v2/revisions/acf0049d7c7f/schema)
