ManageEngine® Applications Manager 删除监视器API |
||
此API用于删除监视器。
http://[Host]:[Port]/AppManager/xml/DeleteMonitor?apikey=[APIKEY]&resourceid=[RESOURCEID]
此API请求包含的参数:
字段 | 描述 |
apikey | 密钥通过管理标签中的生成API密钥生成。 |
resourceid | 要被删除监视器的资源id。 |
http://app-windows:9090/AppManager/xml/DeleteMonitor?apikey=93c6eb60184e41f10fba2f365060b8e3&resourceid=10000032
输出示例:
<AppManager-response uri="/AppManager/xml/DeleteMonitor"> <result> <response method="DeleteMonitor"> <message>The monitor deleted successfully.</message> </response> </result> </AppManager-response> |
如果API没有执行正确,请求将会失败,并且如下错误将会出现:
<AppManager-response uri="/AppManager/xml/DeleteMonitor"> <result> <response response-code="4004"> <message>The specified apikey [ "+apiKey+" ] in the request is invalid. Kindly login to Application Manager and check for the key in generate key in Admin tab.</message> </response> </result> </Apm-response> |
请参照常见问题列表。
认证 |
执行动作 |