---
title: "Mute a chat for the current user"
method: PUT
path: "/v1/chats/my/{chatName}/mute"
tags: ["Chats"]
---

# Mute a chat for the current user

`PUT /v1/chats/my/{chatName}/mute`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v1/chats/my/{chatName}/mute`
- Auth: HTTP bearer

**Auth**: User JWT

Mutes a chat the caller is a member of. The flag is stored on the
caller's own membership, so other members are not affected. Idempotent.
The state is returned as `muted` on `GET /v1/chats/my` and
`GET /v1/chats/my/{chatName}`. This is a stored preference only; it does
not change push delivery by itself.

## Path parameters

- `chatName` string, required

## Response `200`

```
{ ok: true, result: { chatName: string, muted: true } }
```

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: ``` { error: string, code: 'CHAT_MEMBERSHIP_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)
