---
title: "Delete conversation"
method: DELETE
path: "/api/chat/conversations/{id}"
tags: ["chat"]
---

# Delete conversation

`DELETE /api/chat/conversations/{id}`

## Request

- Base URL: `https://localhost:8080`
- URL: `https://localhost:8080/api/chat/conversations/{id}`
- Auth: none declared

Deletes a conversation and all its messages. Only the owner can delete.

## Path parameters

- `id` string, required

## Response `200`

Conversation deleted successfully

- DeleteConversationResponseDto
  - `success` boolean, required: Success status
  - `message` string, required: Response message

## Other responses

- `403`: Access denied
- `404`: Conversation not found

---

[API](https://skmtc.dev/opencase/apis/opencase-backend-api.md) · [All operations](https://skmtc.dev/opencase/apis/opencase-backend-api/llms.txt) · [OpenAPI document](https://skmtc.dev/opencase/apis/opencase-backend-api/revisions/c66ef2d8dc00?raw)
