[comment]: # ({7cbac97f-7cbac97f})
# report.delete

[comment]: # ({/7cbac97f-7cbac97f})

[comment]: # ({acb60529-c6ffcbad})
### 説明

`object report.delete(array reportids)`

このメソッドは、定期レポートを削除することができます。

::: noteclassic
このメソッドは、*Admin*および*Super admin*タイプのユーザーのみ利用可能です。メソッドを呼び出す権限は、ユーザーの役割の設定で取り消すことができます。詳細は[ユーザーの役割](/manual/web_interface/frontend_sections/users/user_roles)を参照してください。
:::

[comment]: # ({/acb60529-c6ffcbad})

[comment]: # ({d8777019-d8777019})
### パラメーター

`(array)` 削除する定期レポートのID。

[comment]: # ({/d8777019-d8777019})

[comment]: # ({ee60543b-ee60543b})
### 戻り値

`(object)` `reportids`プロパティの下にある削除された定期レポートのIDを含むオブジェクトを返します。

[comment]: # ({/ee60543b-ee60543b})

[comment]: # ({b41637d2-b41637d2})
### 例

[comment]: # ({/b41637d2-b41637d2})

[comment]: # ({1a799b75-71c35868})
#### 複数の定期レポートの削除

2つの定期レポートの削除

[リクエスト](/manual/api#performing-requests):

```json
{
    "jsonrpc": "2.0",
    "method": "report.delete",
    "params": [
        "1",
        "2"
    ],
    "id": 1
}
```

レスポンス:

```json
{
    "jsonrpc": "2.0",
    "result": {
        "reportids": [
            "1",
            "2"
        ]
    },
    "id": 1
}
```

[comment]: # ({/1a799b75-71c35868})

[comment]: # ({3c3c511e-3c3c511e})
### ソース

CReport::delete() in *ui/include/classes/api/services/CReport.php*.

[comment]: # ({/3c3c511e-3c3c511e})
