diff --git a/pkg/dashboards/types.go b/pkg/dashboards/types.go index 7da90f527..692c8a02e 100644 --- a/pkg/dashboards/types.go +++ b/pkg/dashboards/types.go @@ -572,7 +572,9 @@ type DashboardWidgetLayoutInput struct { // DashboardWidgetNRQLQueryInput - NRQL query used by a widget. type DashboardWidgetNRQLQueryInput struct { // New Relic account ID to issue the query against. - AccountID int `json:"accountId"` + AccountID int `json:"accountId,omitempty"` + // New Relic account IDs to issue the query against. + AccountIDS []int `json:"accountIds,omitempty"` // NRQL formatted query. Query nrdb.NRQL `json:"query"` }