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.

graph.delete

説明

object graph.delete(array graphIds)

このメソッドは、グラフを削除することができます。

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

パラメーター

(array) 削除するグラフのID。

戻り値

(object) graphidsプロパティの下にある削除されたグラフのIDを含むオブジェクトを返します。

複数のグラフの削除

2つのグラフを削除します。

リクエスト:

{  "jsonrpc": "2.0",  "method": "graph.delete",  "params": [  "652",  "653"  ],  "id": 1 }

レスポンス:

{  "jsonrpc": "2.0",  "result": {  "graphids": [  "652",  "653"  ]  },  "id": 1 }

ソース

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