TRY NEW VERSION

DELETE api/2.0/project/report/files/{fileid} This function requires authentication

Description

Removes the generated report file with the ID specified in the request.

Parameters
Name Description Type Example
fileid
sent in url
Report file ID number 1234
Example
DELETE api/2.0/project/report/files/1234
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json
Returns

Generated report file

Example Response

application/json

{
  "status": 0,
  "response": {
    "Id": 123,
    "Name": "Name",
    "ReportTemplate": 1,
    "CreateBy": "92eb52c8-bb93-4caf-87fb-46ea11530899",
    "CreateOn": "2019-07-26T00:00:00",
    "ReportType": 1,
    "FileId": null
  }
}

text/xml

<result>
  <status>0</status>
  <response>
    <Id>123</Id>
    <Name>Name</Name>
    <ReportTemplate>1</ReportTemplate>
    <CreateBy>92eb52c8-bb93-4caf-87fb-46ea11530899</CreateBy>
    <CreateOn>2019-07-26T00:00:00</CreateOn>
    <ReportType>1</ReportType>
    <FileId />
  </response>
</result>