---
title: "Delete branch"
method: DELETE
path: "/v1/agents/{agentId}/branches/{branchId}"
tags: ["Branches"]
---

# Delete branch

`DELETE /v1/agents/{agentId}/branches/{branchId}`

## Response `200`

Branch deleted

- DeleteBranchResponse
  - `sequence` string, required
  - `message` string, required

---

[API](https://skmtc.net/poly/apis/polyai-agents-api.md) · [All operations](https://skmtc.net/poly/apis/polyai-agents-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/poly/polyai-agents-api/revisions/76f3c606e395/schema)
