Deletes the specified calculated service metric. Deletion cannot be undone!
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 Authentication.
The key of the required calculated service metric.
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 \ https://mySampleEnv.live.dynatrace.com/api/config/v1/calculatedMetrics/service/calc:service.requestsbycode \ -H 'Authorization: Api-token abcdefjhij1234567890'