Hello,

I am a bit new to using the PRTG rest API for closing sensors but I have managed to do a bit.

From what I can see from your docs you can use something like the following to change the values of sensor data.

/api/setobjectproperty.htm?id=129123&name=oid&value=1.2.3.4.5.6.7

I was wondering if anyone could provide me with an example to change the Identification Token {__guid__} for the HTTP Push Data sensor.

This would really be useful to know to help me proceed with what I have been tasked with.

Kind Regards, Jason


Article Comments

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.

Hello Jason,

Thank you for your message.

To change the token of the HTTP Push sensor, you can indeed use the following request for it:

/api/setobjectproperty.htm?id=SensorID&name=httppushtoken&value=NewToken

If I can be of further help, let me know.

Kind regards.


Sep, 2021 - Permalink

Thank you so much this worked like a charm


Sep, 2021 - Permalink

Thank you for the update. Glad to hear that it work as expected!

Have a nice day.


Sep, 2021 - Permalink