Deletes a specified firmware.

Limits

The maximum number of queries per second (QPS) for a single Alibaba Cloud account to call this operation is 10. The quota is shared between the Alibaba Cloud account and RAM users.

Request parameters

Parameter Type Required Description
Action String Yes The operation that you want to perform. Set the value to DeleteOTAFirmware.
FirmwareId String Yes The ID of the firmware to be deleted.

The firmware ID is a response parameter that is returned by the CreateOTAFirmware operation.

You can call the ListOTAFirmware operation to check the firmware ID.

IotInstanceId String No The ID of your IoT Platform instance. This parameter is not required for public instances. However, the parameter is required for the instances that you have purchased.
Common request parameters N/A Yes For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Description
RequestId String The globally unique ID that is generated by Alibaba Cloud for the request.
Success Boolean Indicates whether the call is successful. true indicates that the call was successful. false indicates that the call failed.
ErrorMessage String The error message returned if the call fails.
Code String The error code returned if the call fails. For information about error codes, see Error codes.

Examples

Sample requests

https://iot.cn-shanghai.aliyuncs.com/?Action=DeleteOTAFirmware
&FirmwareId=s8SSHiKjpBfrM3BSN0z803****
&Common request parameters

Sample success responses

  • JSON format
    {
      "RequestId": "9B7BF858-7686-496E-B8B0-BF9E5D7F86CE",
      "Success": true
    }
  • XML format
    <? xml version="1.0" encoding="utf-8"? >
    <DeleteOTAFirmwareResponse>
      <RequestId>9B7BF858-7686-496E-B8B0-BF9E5D7F86CE</RequestId>
      <Success>true</Success>
    </DeleteOTAFirmwareResponse>