โ† API reference
Mutation / apps

deleteDashboardCard

Delete a card from a dashboard. Requires dashboard:write permission.

Arguments

Card ID to delete

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.

Returns DeleteDashboardCardPayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeleteDashboardCardPayload type

Explore in a view

App Authoring
View exact SDL
"""Delete a card from a dashboard. Requires dashboard:write permission."""
deleteDashboardCard(
  """Card ID to delete"""
  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
): DeleteDashboardCardPayload! @topic(names: ["apps"])

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