Schedule demo

Delete Monitor API


This API is used to delete a monitor in Applications Manager.

Syntax

https://[HOST]:[PORT]/AppManager/xml/DeleteMonitor?apikey=[APIKEY]&resourceid=[RESOURCEID]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

The parameters involved in executing this API request are:

FieldDescription
apikeyThe key generated using the Generate API Key option in the Settings tab.
resourceidThe resource ID of the monitor that needs to be deleted. You may also add multiple resource IDs to delete multiple monitors.

Sample Request

https://apm-prod-server:8443/AppManager/xml/DeleteMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&resourceid=10000032

Multiple resource IDs can be given as comma-separated values. To delete multiple monitors:

https://apm-prod-server:8443/AppManager/xml/DeleteMonitor?apikey=aaaaaabbbbbbccccccddddddeeeeee&resourceid=10000032,10000033,10000034

Sample Response

<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 Settings tab.</message>
      </response>     
    </result>
</Apm-response>

Refer this page for a list of common error conditions.

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by thousands of leading businesses globally