send-file-del

Added at V2.3

Use this interface to delete files from the file upload list.

HTTP Request

POST http://ip/usapi?method=send-file-del
Parameter Description
method send-file-del

Request Header

Content-Type: application/json;charset=UTF-8

Request Payload

{
  disk-type: 1,                        // Storage device type, 0: USB flash drive, 1: SD card
  media-files: ["VID_6_14.mp4"]        // Array of file names to be deleted
}

Response Body

{
  "result": 0
}
Item Description
result 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""