ManageEngine® Applications Manager DeleteMonitor API | ||
This API is used to delete a monitor.
http://[Host]:[Port]/AppManager/xml/DeleteMonitor?apikey=[APIKEY]&resourceid=[RESOURCEID]
The parameters involved in executing this API request are:
Field | Description |
apikey | The key generated using the Generate API Key option in the 'Admin' tab. |
resourceid | The resource id of the monitor that needs to be deleted. You may also add multiple resourceids to delete multiple monitors. |
http://app-windows:59090/AppManager/xml/DeleteMonitor?apikey=93c6eb60184e41f10fba2f365060b8e3&resourceid=10000032
Multiple resourceid can be given as comma separated. To delete multiple monitors:
http://app-windows:59090/AppManager/xml/DeleteMonitor?apikey=93c6eb60184e41f10fba2f365060b8e3&resourceid=10000032,10000033,10000034
Example Output:
<AppManager-response uri="/AppManager/xml/DeleteMonitor"> <result> <response method="DeleteMonitor"> <message>The monitor deleted successfully.</message> </response> </result> </AppManager-response> |
If the API is not executed correctly, the request will fail and errors will be shown as given below:
<AppManager-response uri="/AppManager/xml/DeleteMonitor"> <result> <response response-code="4004"> <message>The specified apikey [ "+apiKey+" ] in the request is invalid. Kindly login to Applications Manager and check for the key in generate key in Admin tab.</message> </response> </result> </Apm-response> |
Refer this page for a list of common error conditions.
Configure SMS Server |
Enable/Disable Actions API |