aws iot delete-ota-update
Delete an OTA update. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To delete an OTA update
The following delete-ota-update example deletes the specified OTA update.
aws iot delete-ota-update --ota-update-id ota12345 --delete-stream --force-delete-aws-jobIdentify--ota-update-idThe ID of the OTA update to delete.--delete-streamWhen true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.--force-delete-aws-jobWhen true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS".This command produces no output.
For more information, see Creating an OTA update with the AWS CLI in the FreeRTOS User Guide.
Options
--delete-streamWhen true, the stream created by the OTAUpdate process is deleted when the OTA update is deleted.--force-delete-aws-jobWhen true, deletes the IoT job created by the OTAUpdate process even if it is "IN_PROGRESS".--ota-update-idThe ID of the OTA update to delete.