POST api/Action/DeleteFile?FileToBeDeleted={FileToBeDeleted}&Path={Path}&WithRootPath={WithRootPath}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
FileToBeDeleted

string

Required

Path

string

None.

WithRootPath

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

FileTransferAPIViewModel
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

MD5

string

None.

FilePath

string

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "MD5": "sample string 3",
  "FilePath": "sample string 4"
}

text/xml

Sample:
<FileTransferAPIViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FFCCP_FileTransfer.ViewModel">
  <ErrorMessage>sample string 2</ErrorMessage>
  <FilePath>sample string 4</FilePath>
  <IsSuccessful>true</IsSuccessful>
  <MD5>sample string 3</MD5>
</FileTransferAPIViewModel>