Service | sensor-mgmt |
Description | Approve, delete, undelete sensors, and set sensor default server. |
Permission | Sensor Mgmt Xml Api |
Version | 4.6.5 or later |
Parameter | Definition |
|---|---|
HH$Id | The sensor ID. This is a mandatory parameter. This value can be a single sensor ID, comma-separated list of IDs, or -1 for all. |
HH$Action | Action to perform on sensor(s). Valid values are approve, delete, undelete, and set |
HH$Server | Server ID is used with the set action only. It is used to change the default server for the sensor ID(s) supplied. (The set action is only available in 4.8.4 or later). |
Examples
To delete all sensors:
https://127.0.0.1:8443/xmlapi.svc?service=sensor-mgmt&HH$Action=delete&HH$Id=-1
To approve a sensor:
https://127.0.0.1:8443/xmlapi.svc?service=sensor-mgmt&HH$Action=approve&HH$Id=10002000
To approve multiple sensors:
https://127.0.0.1:8443/xmlapi.svc?service=sensor-mgmt&HH$Action=approve&HH$Id=10002000,1002300,10002500
To change the default server for a sensor:
https://127.0.0.1:8443/xmlapi.svc?service=sensor-mgmt&HH$Action=set&HH$Id=10100000, 10100000, 10100000&HH$Server=10500000