We use th Tags in PRTG as an easy way to run reports. But we use a different DB that will be using to update the descriptions as they change. can i assign a new tag through the API?


Article Comments

Please use an API call like the following:

/api/setobjectproperty.htm?id=xxxx&name=tags&value=myNewTag1,myNewTag2

(Replace xxxx and myNewTag1,myNewTag2 accordingly.)

This will change the tags of the object with ID xxxx to myNewTag1 and myNewTag2.

Note: The tags will not be added to the existing ones, but they the entire Tags field will be replaced by the new tags.

For the entire documentation of the PRTG API, please see How can I use the PRTG Application Programming Interface (API)?


Jun, 2011 - Permalink