Unmanage API


ManageEngine Applications Manager provides REST APIs for fetching data from Applications Manager server. This API allows the user to unmanage a monitor.

Note: From v16060 onwards, this API is supported for Monitor Groups in Admin Server.

Syntax

  • https://[HOST]:[PORT]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&resourceid=[ RESOURCEID ]
  • https://[HOST]:[PORT]/AppManager/xml/UnmanageMonitor?apikey=[ API key ]&haid=[ MONITORGROUPID ]

Supported HTTP methods: GET, POST

Allowed roles: Administrator, Operator

Request Parameters

Field Description
apikey The key generated from "Generate API Key" option in the Settings tab.
resourceid resourceid=[ RESOURCEID ] where RESOURCEID is the AM_ManagedObject.RESOURCEID of the monitor to be unmanaged.
haid The resourceid of the monitor group which you want to un-manage.
timestamp The time until when the monitor/monitor group has to remain unmanaged. (milliseconds)(optional)
suppresstype 0 or 1 (0 - Suppress monitoring, 1- Suppress only alerts)(optional)

Example Request

https://[HOST]:[PORT]/AppManager/xml/UnmanageMonitor?apikey=[API key]&resourceid=[RESOURCEID]&timestamp=[milliseconds]&suppresstype=[0/1]

Example Input

  • https://apm-prod-server:8443/AppManager/xml/UnmanageMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&resourceid=10000056
  • https://apm-prod-server:8443/AppManager/xml/UnmanageMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10

Example Output

<AppManager-response uri="/AppManager/xml/UnmanageMonitor">
    <result>
        <response response-code="4000">
            <message>Monitor with resourceID 10000056 unmanaged successfully</message>
        </response>
    </result>
</AppManager-response>