ManageEngine® Applications Manager 取消管理API |
||
这个API可用取消对监视器的管理。
取消管理:
http://[ Host ]:[ Port ]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&resourceid=[ RESOURCEID ]
http://[ Host ]:[ Port ]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&haid=[ MONITORGROUPID ]
请求参数
字段 | 描述 |
API Key | 在管理页签中的生成的API键值。 |
resourceid | resourceid=[ RESOURCEID ] RESOURCEID是要管理的监视器的AM_ManagedObject.RESOURCEID |
haid | 您想要取消管理的业务组资源。 |
示例:
http://app-windows:9090/AppManager/xml/UnmanageMonitor?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&resourceid=10000056
http://app-windows:9090/AppManager/xml/UnmanageMonitor?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&haid=10
输出示例:
<AppManager-response uri="/AppManager/xml/UnmanageMonitor"> <result> <response response-code="4000"> <message>Monitor with resourceID 10000056 unmanaged successfully</message> </response> </result> </AppManager-response> |
立即轮询 |
错误处理 |