code: func (c *Cluster) RemoveNetwork(input string) error {
  	return c.lockedManagerAction(func(ctx context.Context, state nodeState) error {
  		network, err := getNetwork(ctx, state.controlClient, input)
  		if err != nil {
  			return err
  		}
  
  		_, err = state.controlClient.RemoveNetwork(ctx, &swarmapi.RemoveNetworkRequest{NetworkID: network.ID})
  		return err
  	})
  }
docs: // RemoveNetwork removes a cluster network.