Channel Admin Controller

Delete File from Folder

Path: /api/channels/{channelRef}/folders/{folderName}/files/{filename}

Method: DELETE

Example Http Request

DELETE /api/channels/localhost/folders/public/files/test.vrm HTTP/1.1
Content-Type: application/json
X-WAL: 0x1371699df678b0d92025bc20fdb91fdef8ce9444
X-SIG: 0x1234567890
X-MES: Message to sign
Host: localhost:8080

Example Http Response

HTTP/1.1 200 OK
Content-Disposition: inline;filename=f.txt
Content-Type: text/plain;charset=ISO-8859-1
Content-Length: 25

File deleted successfully

Example Curl Request

$ curl 'http://localhost:8080/api/channels/localhost/folders/public/files/test.vrm' -i -X DELETE \
    -H 'Content-Type: application/json' \
    -H 'X-WAL: 0x1371699df678b0d92025bc20fdb91fdef8ce9444' \
    -H 'X-SIG: 0x1234567890' \
    -H 'X-MES: Message to sign'

Channel Admin Controller