Metric events anomaly detection API - DELETE an event
Deletes the specified metric event rule.
This request is an early adopter release and may be changed in non compatible way.
DELETE |
|
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
id | string |
The ID of the metric event to be deleted. |
path | required |
Response format
A successful request doesn't return any content.
Example
In this example, the request deletes the Low disk space rule we created in the POST request example. The response code of 204 indicates that the deletion has been successful.
The API token is passed in the Authorization header.
Curl
curl -X DELETE \
https://mySampleEnv.live.dexp.ae/api/config/v1/anomalyDetection/metricEvents/1b06b18a-82df-4e18-a4aa-d4543b227734 \
-H 'Authorization: Api-token abcdefjhij1234567890'
Request URL
https://mySampleEnv.live.dexp.ae/api/config/v1/anomalyDetection/metricEvents/1b06b18a-82df-4e18-a4aa-d4543b227734
Response code
204