Skip to main content
DELETE
/
api
/
v1
/
git
/
worktrees
/
{path}
Delete worktree
curl --request DELETE \
  --url http://localhost:3000/api/v1/git/worktrees/{path} \
  --cookie nut-session=
{
  "success": true,
  "data": {}
}

Authorizations

nut-session
string
cookie
required

Session cookie authentication

Path Parameters

path
string
required

Worktree path

Response

Worktree deleted

success
boolean
required
data
object