Deleting a file in a transfer

delete

Deletes an existing file in a transfer, modifies transfer size and frees up storage space occupied by the file. Note that this operation cannot be reverted. Information about new occupied storage space for current user is contained in the response.

Path parameters
filekeystringRequired

File key / identifier which can be obtained from GET /transfer request. Every file in the transfer response includes its unique identifier under fileid property.

Responses
200
OK
delete
DELETE /transfer/file/{filekey} HTTP/1.1
Host: api-public.filemail.com
Accept: */*
{
  "responsestatus": "OK",
  "errorid": "text",
  "errormessage": "text",
  "data": {
    "storageinuse": 1
  },
  "errorcode": 1
}

Last updated

Was this helpful?