v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-142381,278956.3 KB

Deletes a Device Defender detect custom metric.

Requires permission to access the DeleteCustomMetric action.

Before you can delete a custom metric, you must first remove the custom metric from all security profiles it's a part of. The security profile associated with the custom metric can be found using the ListSecurityProfiles API with metricName set to your custom metric name.

delete/custom-metric/{metricName}

Path parameters

metricNamestring required

The name of the custom metric.

Response

Success

DeleteCustomMetricResponse required