# Update a chat topic by id (manager) **PATCH /manager/chat-topics/{id}** ## Servers - https://domain.tld/api/v2: https://domain.tld/api/v2 () ## Authentication methods - Bearer token ## Parameters #### Path parameters - **id** (integer(int32)) The id of the chat topic ## Body parameters Content-type: application/json - **active** (boolean) - **position** (integer(int32)) - **color** (string) - **contents** (array[object]) ## Responses ### 200: Returns the updated chat topic #### Body Parameters: application/json (object) - **id_chat_topic** (integer) - **color** (string) - **contents** (array[object]) - **position** (integer) - **date_insert** (string(date-time)) - **roles** (array[string]) - **date_update** (string(date-time)) - **active** (boolean) ### 401: Unauthorized. #### Body Parameters: application/json (object) - **message** (string) ### 403: Forbidden - You don't have permission to access this route ### 404: Not found ### 422: Unprocessable Content #### Body Parameters: application/json (object) - **message** (string) Error message. - **errors** (object) [Powered by Bump.sh](https://bump.sh)