This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

dashboard.delete

説明

object dashboard.delete(array dashboardids)

このメソッドは、ダッシュボードを削除することができます。

このメソッドは、すべてのタイプのユーザーが利用できます。メソッドを呼び出す権限は、ユーザーの役割の設定で取り消すことができます。詳細はユーザーの役割を参照してください。

パラメーター

(array) 削除するダッシュボードのID。

戻り値

(object) dashboardidsプロパティの下にある削除されたダッシュボードのIDを含むオブジェクトを返します。

複数のダッシュボードの削除

2つのダッシュボードを削除します。

リクエスト:

{  "jsonrpc": "2.0",  "method": "dashboard.delete",  "params": [  "2",  "3"  ],  "id": 1 }

レスポンス:

{  "jsonrpc": "2.0",  "result": {  "dashboardids": [  "2",  "3"  ]  },  "id": 1 }

ソース

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