Edit Monitor Group API


This API lets you to edit the details of a particular monitor group.

Syntax:

https://[HOST]:[PORT]/AppManager/xml/group/edit?apikey=[APIKEY]&haid=[HAID]&groupname=[GROUPNAME]&owners=[OWNERS]&location=[LOCATION]&description=[DESCRIPTION]

Supported HTTP methods: POST

Allowed roles: Administrator

Request Parameters

The parameters involved in the API request are described below. Also refer to the list of common Request Parameters. Incase of errors during API execution, refer to the error handling section.

Field Description
apikey The key generated from the Generate API Key option in the Settings tab.
haid The unique resourceid for any monitor which can be found from AM_ManagedObject table in database.
groupname The new display name for the group. Html encoding for Special characters in displayname is required (ex: Html encoding For & is & and " is ")
owners The new owner of the group
location The new location of the monitor group.
description The new description of the monitor group.

Sample Requests

  • https://apm-prod-server:8443/AppManager/xml/group/edit?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000671&groupname=new
  • https://apm-prod-server:8443/AppManager/xml/group/edit?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000671&owners=admin
  • https://apm-prod-server:8443/AppManager/xml/group/edit?apikey=aaaaaabbbbbbccccccddddddeeeeee&haid=10000475&groupname=MYTEST7 &owners=oper&location=India&description=MYTEST3Description