Auth. HMAC v1 or bearer token — see Authentication.
Status. Live · Idempotent: Yes (last write wins).
1006.
Request
PUT /api/v1/chats/{id}
Response
Path parameters
Chat identifier (
ch_…).Body
New display name for the group. Trimmed; must be non-empty if present.
HTTPS URL of the new group icon image.
Response fields
Refreshed chat object with the updated
display_name and group_chat_icon fields.Errors
| Code | HTTP | When |
|---|---|---|
1004 | 400 | Invalid JSON body. |
1006 | 400 | Chat is a direct message — only group chats support display name + icon. |
2002 | 404 | Chat not found. |
4001 | 502 | Delivery failed (rename or icon update was rejected). |
4099 | 501 | Group is missing its chat key or has no pinned line. |

