Log Monitoring metrics API - DELETE a metric
Deletes the specified calculated Log Monitoring metric. Deletion cannot be undone!
To execute this request, you need an access token with Write configuration (
WriteConfig) scope. To learn how to obtain and use it, see Tokens and authentication.
The key of the custom log metric to be deleted.
Deleted. Response doesn't have a body.
Failed. See the response body for details
In this example, the request deletes the Sample metric custom log metric. The response code of 204 indicates that the deletion was successful.
curl -X DELETE \ https://mySampleEnv.live.dynatrace.com/api/config/v1/calculatedMetrics/log/calc:log.samplemetric \ -H 'Authorization: Api-Token dt0c01.abc123.abcdefjhij1234567890'