---
title: "Create chat"
method: DELETE
path: "/v1/chats"
tags: ["Chats"]
---

# Create chat

`DELETE /v1/chats`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v1/chats`
- Auth: HTTP bearer

**Auth**: User JWT

Create chat

## Request body

- object
  - `name` string: Chat name (`<appId>_<chatId>`) to delete. The room is destroyed on the XMPP server, the Mongo row removed, and all memberships dropped.

## Response `200`

```
{
  ok: boolean,
}
```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: ``` { error: 'Forbidden' } ```
- `404`: Not Found
- `422`: ``` { error: string } ```
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
