---
title: "Update chat metadata (title/description) (v2, tenant actor)"
method: PATCH
path: "/v2/apps/{appId}/chats/{chatId}"
tags: ["Chats"]
---

# Update chat metadata (title/description) (v2, tenant actor)

`PATCH /v2/apps/{appId}/chats/{chatId}`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v2/apps/{appId}/chats/{chatId}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

**Auth**: Tenant Actor

Update chat room metadata (Mongo-backed title/description) for tenant actors.
Supports `User JWT` and `B2B Server JWT`.
The `{chatId}` path value must be the canonical roomJid local part (the stored chat name), for example `${appId}_${roomId}`.
A full room JID like `${appId}_${roomId}@conference.example.com` is also accepted; the domain part is ignored.

## Path parameters

- `appId` string, required
- `chatId` string, required

## Request body

- object
  - `title` string: New display title. Propagates to the XMPP MUC room config; live clients see the change next time they fetch chat metadata.
  - `description` string: New short description shown in the chat info panel.

## Response `200`

```
{
  ok: true,
  result: {
    _id: string,
    name: string,
    title: string,
    description: string,
    type: string,
    picture: string,
    appId: string,
    updatedAt: any
  }
}
```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: ``` { error: 'Forbidden', code: 'FORBIDDEN' } ```
- `404`: ``` { error: string, code: 'APP_NOT_FOUND'|'CHAT_NOT_FOUND' } ```
- `422`: ``` { error: string, code: 'VALIDATION_ERROR' } ```
- `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)
