This endpoint immediately ends a session regardless of its timeout configuration. The session is removed from memory but the underlying channel and messages are preserved for historical reference.
Path Parameters
The unique identifier of the session to delete
Response
Whether the session was successfully deleted
Confirmation message with the session ID
Example Response
Error Responses
Important Notes
- Deleting a session does not delete the conversation history
- The underlying channel and messages remain in the database
- Active WebSocket connections for the session will be terminated
- Any pending operations on the session will fail after deletion
Path Parameters
ID of the session to end
Response
Session ended successfully
Example:
"Session ended successfully"