DeleteReport

Deletes a campaign statistics report from the server.

Attention.

This method is outdated and will soon be disabled. Use version 5 of the API.

For information about the compatibility of methods between versions 4 and 5, see the Migration guide.

Reports are automatically deleted five hours after they were created. Reports need to be deleted manually if you have generated the maximum number of reports (five) and you need to generate a new report.

Input data

The input data structure in JSON is shown below.

{
   "method": "DeleteReport",
   "param": (int)
}

The param parameter specifies the ID of the report to delete. You can get the report ID using the GetReportList method.

Output data

Returns 1 when the report was deleted successfully, as shown in the following example.

{
   "data": 1
}