CmdID

CmdID / aws / aws iot

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

1 in the AWS CLI reference
--metric-nameThe name of the custom metric.