Skip to main content

delete_session

Function delete_session 

Source
pub async fn delete_session(
    __arg0: State<Arc<AppState>>,
    __arg1: Path<String>,
) -> impl IntoResponse
Expand description

DELETE /sessions/:id — delete a session and all its messages.

Returns 204 No Content on success, 404 if not found.