updateMetric
Topics: Devices
Update a metric. Only provided fields are changed. Requires metric:write permission.
Returns
UpsertMetricPayload!Arguments
Metric ID to update
Fields to update — only provided fields are changed
Exact field SDL
"""
Update a metric. Only provided fields are changed. Requires metric:write permission.
"""
updateMetric(
"""Metric ID to update"""
id: MetricID!
"""Fields to update — only provided fields are changed"""
input: UpdateMetricInput!
): UpsertMetricPayload! @topic(names: ["devices"])Declared on Mutation. Access is checked by the platform for each operation.