code: func (a *API) DeleteDashboard(cfg *Dashboard) (bool, error) {
  	if cfg == nil {
  		return false, fmt.Errorf("Invalid dashboard config [nil]")
  	}
  	return a.DeleteDashboardByCID(CIDType(&cfg.CID))
  }
docs: // DeleteDashboard deletes passed dashboard.