Deleting Files


The device can send a request to the HTTP broker to delete a file uploaded by the device on the Device Connectivity & Management.

  • Method: POST

  • TOPIC: /multipart/sys/{productKey}/{deviceKey}/file/delete

Request Sample

{
    "sesssionId": "341a9fa5-2719-4322-a7e1-686555b9e678",
    "fileUri": "enos-connect://xxxxx"
}

Return Sample

{
    "code": 200,
    "message": "success",
    "data": {}
}

Request Parameter Description

Parameter

Data Type

Mandatory/optional

Description

sessionId

String

Mandatory

The session ID, obtained when the devices is authenticated and connected to EnOS, must be provided every time the data is reported.

fileUri

String

Mandatory

The URI for the file to be deleted.