aws iot delete-custom-metric
The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To delete a custom metric
The following delete-custom-metric example deletes a custom metric.
aws iot delete-custom-metric --metric-name batteryPercentageIdentify--metric-nameThe name of the custom metric.This command produces no output.
For more information, see Custom metrics in the AWS IoT Core Developer Guide.
Options
--metric-nameThe name of the custom metric.