# Update a chatroom by id **PATCH /chat/chatrooms/{id}** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters ### Headers - **X-Popsell-Brand** (integer) The id of the target brand ### Path parameters - **id** (integer) The chatroom id ### Body: application/json (object) - **established_dialogue** (string(date-time)) ## Responses ### 200 Return the updated chatroom #### Body: application/json (array) array ### 403 Forbidden - You don't have permission to access this route ### 404 Not found - The ambassador does not exist [Powered by Bump.sh](https://bump.sh)