---
title: "Delete Chat"
method: DELETE
path: "/api/v1/chat-history/chats/{chat_id}"
---

# Delete Chat

`DELETE /api/v1/chat-history/chats/{chat_id}`

Delete or archive a chat.

## Path parameters

- `chat_id` string, required

## Query parameters

- `archive_only` boolean

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway.md) · [All operations](https://skmtc.dev/morpheusais/apis/morpheus-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/morpheusais/morpheus-api-gateway/revisions/061297d1593b/schema)
