Delete a Metric
Delete a metric by ID or name, with soft and hard delete options
DELETE
DELETE /v1/metrics/{id}
Delete a Metric
Delete a metric by UUID or fully qualified name. By default, the API soft-deletes the metric for later restoration. A hard delete permanently removes it.Delete by ID
Permanently delete the metric. If
false, the metric is soft-deleted and can be restored.Delete by Fully Qualified Name
UseDELETE /v1/metrics/name/{fqn} to delete by fully qualified name.
Delete Asynchronously
UseDELETE /v1/metrics/async/{id} when deletion should run in the background. The endpoint accepts the same hardDelete query parameter and returns 202 Accepted with a job identifier.
Restore a Soft-Deleted Metric
UsePUT /v1/metrics/restore with the metric UUID in the request body.
DELETE /v1/metrics/{id}
Returns
The synchronous REST endpoints return the deleted metric. A soft-deleted metric hasdeleted: true. An asynchronous delete returns a job descriptor. Restore returns the restored metric. The Python and Java SDK delete methods do not return a value.