Soft delete a user session by setting its status to DELETED.
After the database delete completes, a best-effort RPC is sent to the daemon to terminate any running session process. The delete always succeeds regardless of daemon state.
Args: delete_worktree: If true, also delete the git worktree associated with this session on the user’s machine.
Returns: 204 No Content on success 404 if session not found or already deleted
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
If true, also delete the git worktree associated with this session.
Successful Response