Release worktree slot
POST/api/worktrees/:project_id/:number/release
Frees a worktree slot held by a task and stops the runner in it; the task is dispatched again, and the next lease discards uncommitted work in the slot. Returns 409 while a live session is attached unless force is true. Returns 204 with no body.
Request
Responses
- 204
- 422
No content
Unprocessable content