v1
latestSwagger 2.02026-07-175445133.1 KBgit
Delete worktree
Removes a worktree from the repository
delete/v1/git/worktrees/{id}
Path parameters
idstring required
Worktree ID
Response
OK
Example response
{
"id": "abc123-def456-ghi789",
"message": "Worktree deleted successfully",
"strategy": "rebase"
}