code: func (daemon *Daemon) DeleteManagedNetwork(networkID string) error {
  	n, err := daemon.GetNetworkByID(networkID)
  	if err != nil {
  		return err
  	}
  	return daemon.deleteNetwork(n, true)
  }
docs: // DeleteManagedNetwork deletes an agent network.
  // The requirement of networkID is enforced.