code: def nic_remove(self, container, index):
          
          args = {
              'container': container,
              'index': index
          }
          self._nic_remove.check(args)
  
          return self._client.json('corex.nic-remove', args)
docs: Hot unplug of nic from a container
  
          Note: removing a nic, doesn't remove the nic from the container info object, instead it sets it's state
          to `destroyed`.
  
          :param container: container ID
          :param index: index of the nic as returned in the container object info (as shown by container.list())
          :return: