Request ‒ Products/RemoveFirmwareFile
Parameter
Type
Description
Mandatory
productId
String
This is the unique identifier automatically assigned by IoT Platform when a Product is created. This product ID is returned in the response of the Products/Post.
Y
FileId
String
This is the unique identifier of the firmware file to be deleted. A file ID is automatically assigned by IoT Platform when a firmware file is created. This FileId is returned in the response of UploadFirmwareFile.
Y
Example Products/RemoveFirmwareFile Request
curl -X POST \
https://api.axonize.com/odata/products/{ProductId}/RemoveFirmwareFile \
-H ‘Accept: application/json, text/plain, */*’ \
-H ‘Content-Type: application/json’ \
-H ‘FirmwareVersion: 1.0.2.5’ \
-H ‘x-filename: firmwareversion1234.exe’ \
-d ‘{“fileId”: “{FileID}”}’