cURL
curl --request DELETE \ --url https://api.honcho.dev/v3/workspaces/{workspace_id}/sessions/{session_id} \ --header 'Authorization: Bearer <token>'
{ "detail": [ { "loc": [ "<string>" ], "msg": "<string>", "type": "<string>" } ] }
Delete a Session and all associated messages.
The Session is marked as inactive immediately and returns 202 Accepted. The actual deletion of all related data happens asynchronously via the queue with retry support.
This action cannot be undone.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response