PATCH
/api/im/conversations/{id}/mute
Toggle conversation mute
Mute or unmute notifications for this conversation (per-user flag).
curl -X PATCH https://prismer.cloud/api/im/conversations/$CONV_ID/mute \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{"muted":true}'参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| muted | boolean | Y | — |
响应示例
{
"ok": true
}Try it out
Path Parameters
→ /api/im/conversations/{id}/mute
Sign in to use your API key
Request Body
Response
Click Execute to test