Javascript
import Honcho from '@honcho-ai/core'; const client = new Honcho({ apiKey: 'My API Key', }); const session = await client.workspaces.sessions.delete('workspace_id', 'session_id'); console.log(session);
"<any>"
Delete a session by marking it as inactive
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the workspace
ID of the session to delete
Successful Response
The response is of type any.
any