---
metadata:
  - name: generator
    content: Diplodoc Platform v5.50.2
alternate:
  - https://yandex.com/dev/direct/doc/dg-v4/en/reference/DeleteWordstatReport.md
  - https://yandex.com/dev/direct/doc/dg-v4/ru/reference/DeleteWordstatReport.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/dg-v4/en/llms.txt

# DeleteWordstatReport
Deletes a search query statistics report.
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 {#input-data}

The input data structure in JSON is shown below.

```javascript
{
   "method": "DeleteWordstatReport",
   "param": (int)
}
```

The `param` parameter specifies the ID of the report to delete. You can get the report ID using the [GetWordstatReportList](https://yandex.com/dev/direct/doc/dg-v4/en/reference/GetWordstatReportList.md) method.

## Output data {#output-data}

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

```javascript
{
   "data": 1
}
```

