---
title: "Delete Chat Session By Id"
method: DELETE
path: "/chat/delete-chat-session/{session_id}"
tags: ["public"]
---

# Delete Chat Session By Id

`DELETE /chat/delete-chat-session/{session_id}`

## Path parameters

- `session_id` string, uuid, required

## Query parameters

- `hard_delete` boolean, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-01-06** `2d941ea53eb3` — 1 info
  - api tag `public` added
- **2025-08-21** `9321c45d93b5` — 1 info
  - api tag `public` removed

[Change history](https://skmtc.dev/onyx-dot-app/apis/onyx-api/changes/chat/delete-chat-session/:session_id/delete.md)

---

[API](https://skmtc.dev/onyx-dot-app/apis/onyx-api.md) · [All operations](https://skmtc.dev/onyx-dot-app/apis/onyx-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/onyx-dot-app/onyx-api/revisions/2980a9073ffe/schema)
