stop all monitors api

Post Reply
zemerdon
Site Admin
Posts: 339
Joined: Mon Jan 23, 2023 8:13 pm

stop all monitors api

Post by zemerdon »

Code: Select all

curl -XPOST http://192.168.1.13/zm/api/monitors/1.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/2.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/3.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/4.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/5.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/6.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/7.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/8.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/9.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/10.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/11.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/12.json -d "Monitor[Function]=None"
curl -XPOST http://192.168.1.13/zm/api/monitors/14.json -d "Monitor[Function]=None"
Post Reply