---
title: "Delete a chat"
description: "The chat and every message in it, for good."
url: "https://openemail.uk/docs/api/chats/delete"
area: "API"
category: "Mailbox"
---

# Delete a chat

The chat and every message in it, for good.

`DELETE /chats/{id}`

## DELETE /chats/{id}

The chat and every message in it, for good.

## Example

Needs `threads:write`. Nothing the assistant did in the mailbox is undone.

**curl**

```
curl -X DELETE "$OE/chats/8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65" -H "$AUTH"
```

**Response**

```
{
  "object": "chat",
  "id": "8f3c2a71-5e9d-4b06-a1c4-7d2e9f0b3a65",
  "deleted": true
}
```

## Reference

- [`DELETE /chats/{id}`](https://openemail.uk/docs/api/reference/chats#delete-chats-id): full reference
