search

DeleteMetric (DELETE /v1/dictionary/metrics/{name})

The DeleteMetric method deletes custom metric definitions. If a default definition exists for the metric name, it will become active again once the custom definition is deleted.

Status Codes

  • 200 (custom definition was deleted)
  • 404 (no custom definition exists with the requested name)

Examples

DeleteMetric Request
curl https://api.zenoss.io/v1/dictionary/metrics/sysUpTime_sysUpTime \
  -H "zenoss-api-key: YOUR-API-KEY" \
  -X DELETE -s
DeleteMetric Response
{}