Update chat
PUT/chats/:chat_id
Update chat
Request
Responses
- 200
- 404
- 422
Chat updated. chat is returned only with Prefer: return=representation.
Response Headers
Preference-Applied
Present (as return=representation) when the client requested the entity via Prefer: return=representation (or the deprecated ?result=yes flag) and the server honored it. Per RFC 7240.
A URL-bound resource (chat / user / message) was not found. Standard Laravel 404 body.
Validation failed or the update failed.