# ai_prompt_orgs_users_all_chats_memory_update Update chat memory for a specific user. Args: request: The HTTP request containing the updated chat memory data. org: The organization/tenant identifier. user_id: The ID of the user to update chat memory for. Returns: Response: A confirmation of the scheduled update task. Raises: BadRequest: If the provided data is invalid. NotFound: If no chat memory exists for the user. Endpoint: PUT /api/ai-prompt/orgs/{org}/users/{user_id}/all-chats-memory/ Version: 3.59.0-ai-plus Security: PlatformApiKeyAuthentication ## Path parameters: - `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): - `task_id` (string, required) Id of the schedled task - `message` (string, required) Message about the scheduled task