# ai_prompt_orgs_users_all_chats_memory_update_2 Update a specific chat memory entry. Args: request: The HTTP request containing the updated chat memory data. org: The organization/tenant identifier. user_id: The ID of the user who owns the memory. memory_id: The ID of the specific memory entry to update. Returns: Response: The updated chat memory entry. Raises: BadRequest: If the provided data is invalid. NotFound: If the specified memory entry does not exist. Endpoint: PUT /api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/{memory_id}/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `memory_id` (integer, required) - `org` (string, required) - `user_id` (string, required) ## Request fields (application/json): - `username` (string, required) - `platform_key` (string, required) - `content` (string,null) - `session_id` (string,null) ## Response 200 fields (application/json): - `id` (integer, required) - `username` (string, required) - `platform_key` (string, required) - `content` (string,null) - `session_id` (string,null)