Deleting a session in Knoq removes only the locally persisted data — conversation history stored on Knoq’s side. This action does not affect any data held by external AI providers.
Request
The ID of the session to delete. You can obtain this from the Create Session response or the List Sessions endpoint.
Response
Always
true when the deletion succeeds.Example
Errors
| Status | Meaning |
|---|---|
400 | The sessionId query parameter is missing or empty. |
401 | The request is not authenticated. Ensure your session cookie is valid and has not expired. |
404 | No session with the given ID was found for your user and organisation. The session may have already been deleted. |