DELETE api/files/trash
Trashes the specified file upload.
Request Information
URI Parameters
None.
Body Parameters
DeleteDocumentFileDTOName | Description | Type | Additional information |
---|---|---|---|
FileId |
File ID. |
globally unique identifier |
None. |
DocumentId |
Document ID. |
string |
None. |
Hash | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "FileId": "29f08cd5-552d-4611-8dbb-46b666315b9b", "DocumentId": "sample string 2", "Hash": "sample string 3" }
text/html
Sample:
{"FileId":"29f08cd5-552d-4611-8dbb-46b666315b9b","DocumentId":"sample string 2","Hash":"sample string 3"}
application/xml, text/xml
Sample:
<DeleteDocumentFileDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Common.WebAPI.DTOs"> <DocumentId>sample string 2</DocumentId> <FileId>29f08cd5-552d-4611-8dbb-46b666315b9b</FileId> <Hash>sample string 3</Hash> </DeleteDocumentFileDTO>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json, text/html
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />