v7

latestOpenAPI 3.1.02026-08-08356409701.0 KB
Custom Metrics

Bulk Update Custom Metrics

Bulk update custom metrics: apply the same patch to each metric in metric_ids. Only keys present in updates are applied; each key's value (including null) is written.

put/v1/update-metrics

Headers

X-API-Keystring required

API key required to authenticate requests.

Request body

metric_idsstring[] required

UUIDs of custom metrics to update

Response

Successful Response

successboolean

Whether the operation succeeded

messagestring nullable

Human-readable summary; frontend falls back to 'Updated N custom metric(s)' if missing

updatedinteger nullable

Number of metrics updated