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?
Can I set a tag via the API?
Modified on 2025-06-10 11:51:33 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
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