worktree

Remove worktree

Load the project's canonical configuration and remove a saved worktree using its recorded strategy.

delete/api/worktree

Request

  • Base URL: https://opencode.ai (the document declares no server; this is the origin it was published from)
  • URL: https://opencode.ai/api/worktree
  • Auth: none required

Request body

projectIDstring required
directorystring required
forceboolean required

Response

<No Content>

Changes

No recorded changes to this operation across all 1 revision of this API.