git

Delete worktree

Removes a worktree from the repository

delete/v1/git/worktrees/{id}

Request

  • Base URL
    http://localhost:6369
  • URL
    http://localhost:6369/v1/git/worktrees/{id}
  • Auth
    none declared

Path parameters

idstring required

Worktree ID

Response

OK

idstring

Worktree ID

messagestring

Operation result message

strategystring

Strategy used for sync operations

Example response

{
  "id": "abc123-def456-ghi789",
  "message": "Worktree deleted successfully",
  "strategy": "rebase"
}

Changes

No recorded changes to this operation across all 50 revisions of this API.