code: def update_package_versions(self, batch_request, feed_id):
          
          route_values = {}
          if feed_id is not None:
              route_values['feedId'] = self._serialize.url('feed_id', feed_id, 'str')
          content = self._serialize.body(batch_request, 'NuGetPackagesBatchRequest')
          self._send(http_method='POST',
                     location_id='00c58ea7-d55f-49de-b59f-983533ae11dc',
                     version='5.0-preview.1',
                     route_values=route_values,
                     content=content)
docs: UpdatePackageVersions.
          [Preview API] Update several packages from a single feed in a single request. The updates to the packages do not happen atomically.
          :param :class:`<NuGetPackagesBatchRequest> <azure.devops.v5_0.nuget.models.NuGetPackagesBatchRequest>` batch_request: Information about the packages to update, the operation to perform, and its associated data.
          :param str feed_id: Name or ID of the feed.