Service metrics API - DELETE a metric

Deletes the specified calculated service metric. Deletion cannot be undone!

  • Managed https://{your-domain}/e/{your-environment-id}/api/config/v1/calculatedMetrics/service/{metricKey}
  • SaaS https://{your-environment-id}{metricKey}


To execute this request, you need the Read configuration (ReadConfig) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.


Parameter Type Description In Required
metricKey string

The key of the required calculated service metric.

path required

Response format

A successful request doesn't return any content.


In this example, the request deletes the Requests by code calculated service metric created in the POST request example.

The API token is passed in the Authorization header.

The response code of 204 indicates that the update was successful.


curl -X DELETE \ \  
  -H 'Authorization: Api-token abcdefjhij1234567890'

Request URL

Response code