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.
haid ID of the monitor group/sub group for which actions should be enabled/disabled.

Example Input

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>