← API reference
Mutation / apps

updateDashboardCard

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

Arguments

Card ID to update

dashboardIdDashboardID

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

Returns UpsertDashboardCardPayload!

Explore in a view

App Authoring
View exact 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"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.