# Delete Statistics Report

Deletes a statistics report, subject to the app's dependency checks. Its chart is gone from the app; the tags and contacts it counted stay. Cannot be undone. Pass confirm=true only after the user confirmed deleting this statistics report.

## Input schema:

```json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "description": "ID of the statistics report, from search-statistics-reports",
      "minimum": 1
    },
    "confirm": {
      "type": "boolean",
      "description": "true only after the user confirmed deleting this statistics report",
      "default": false
    },
    "accountId": {
      "type": [
        "null",
        "integer"
      ],
      "description": "User ID of the account; omit for the account of the access token",
      "default": null,
      "minimum": 1
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
```

## Output schema:

```json
{
  "type": "object",
  "required": [
    "accountId",
    "id",
    "name"
  ],
  "properties": {
    "accountId": {
      "type": "integer"
    },
    "id": {
      "type": "integer"
    },
    "name": {
      "type": "string"
    }
  },
  "additionalProperties": false
}
```

