Apps & SurfacesMu Mutation

updateDashboardCard

Topics: Apps

Update a dashboard card in place. Only the dashboard owner may. Requires dashboard:write permission.

Returns

UpsertDashboardCardPayload!

Arguments

Card ID to update

Optional: the dashboard the card is on. A card ID is unique, so this is only a check; a card on another dashboard is not found.

Fields to update — only provided fields are changed

Exact field SDL
"""
Update a dashboard card in place. Only the dashboard owner may. Requires dashboard:write permission.
"""
updateDashboardCard(
  """Card ID to update"""
  cardId: DashboardCardID!
  """
  Optional: the dashboard the card is on. A card ID is unique, so this is only a check; a card on another dashboard is not found.
  """
  dashboardId: DashboardID
  """Fields to update — only provided fields are changed"""
  input: UpdateDashboardCardInput!
): UpsertDashboardCardPayload! @topic(names: ["apps"])

Declared on Mutation. Access is checked by the platform for each operation.