* End a session for good: harness-api tears down its sandbox and * checkpoints. 204 on success; 409 while a checkpoint, fork or rollback * holds the session (retry later); 423 for a staff-locked session.
(sessionId)
| 310 | * holds the session (retry later); 423 for a staff-locked session. |
| 311 | */ |
| 312 | async destroySession(sessionId) { |
| 313 | await request("DELETE", `${SESSIONS_PATH}/${sessionId}`); |
| 314 | }, |
| 315 | |
| 316 | /** |
| 317 | * Soft-delete an Agent Config. harness-api does not check for live |