ManageEngine® Applications Manager Enable/Disable Actions API | ||
ManageEngine Applications Manager provides REST APIs for bulk enabling or disabling of alarms actions configured for a monitor or monitor-groups.
API to Enable/Disable Alarms for a monitor
http://[ Host ]:[ Port ]/AppManager/xml/EnableDisableAlarmsAction?apikey=[ API key ]&resourceid=[ RESOURCEID]&alteraction=[enable/disable]
http://[ Host ]:[ Port ]/AppManager/xml/EnableDisableAlarmsAction?apikey=[ API key ]&haid=[ MONITORGROUPID ]&alteraction=[enable/disable]
Request Parameters
Field | Description |
API Key | The key generated from "Generate API Key" option in the Admin tab. |
resourceid | resourceid=[ RESOURCEID ] where RESOURCEID is the AM_ManagedObject.RESOURCEID of the monitor to be unmanaged. |
alteraction | The enable or disable action. |
The following is an example for EnableDisableAlarmsAction API
http://app-windows:9090/AppManager/xml/EnableDisableAlarmsAction?apikey=65d0fa3e1f6c6bdcce1c3969f24c39a8&resourceid=10000056&alteraction=enable
Example output:
<AppManager-response uri="/AppManager/xml/EnableDisableAlarmsAction"><result><response response-code="4000"><message>Enable/Disable alarms done successfully.</message></response></result></AppManager-response> |
DeleteMonitor API |
ExecuteAction API |