โ† API reference
Mutation / devices

deleteMetric

Delete a metric and all its data points. Requires metric:delete permission.

Arguments

Metric ID to delete

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeletePayload type

Explore in a view

Device Fleet
View exact SDL
"""
Delete a metric and all its data points. Requires metric:delete permission.
"""
deleteMetric(
  """Metric ID to delete"""
  id: MetricID!
): DeletePayload! @topic(names: ["devices"])

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