sessions
Permanently delete a terminated session whose workspace is released
Changed ondelete/api/v1/sessions/{sessionId}
Request
- Base URLhttp://127.0.0.1:3001
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
sessionIdstring required
Session identifier, e.g. project-1.
Query parameters
cleanupboolean
When true, a worktree that is still on disk is cleaned up first, the way session cleanup does it; a dirty or locked worktree is never forced and refuses the delete.
Response
OK
Changes
- info
endpoint added
- info