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))
}
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))
}
func ( a * API ) DeleteDashboard ( cfg * Dashboard ) ( bool , error ) { if cfg == nil { return false , fmt . Errorf ( " " ) } return a . DeleteDashboardByCID ( CIDType ( & cfg . CID ) ) }
// DeleteDashboard deletes passed dashboard.
DeleteDashboard deletes passed dashboard .