---
title: "Remove worktree"
method: DELETE
path: "/experimental/worktree"
---

# Remove worktree

`DELETE /experimental/worktree`

Remove a git worktree and delete its branch.

## Query parameters

- `directory` string

## Request body

- WorktreeRemoveInput
  - `directory` string, required

## Response `200`

Worktree removed

- boolean

## Other responses

- `400` — Bad request

---

[API](https://skmtc.net/cyberstrikeus/apis/cyberstrike.md) · [All operations](https://skmtc.net/cyberstrikeus/apis/cyberstrike/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cyberstrikeus/cyberstrike/versions/4e11f1aed2fd/schema)
