Update Ports via the API

It would be nice if we could update ports via the API. For example, setting certain ports to monitor and others not to monitor via the API. Below is an example via Postman.

1 Like

Good idea, would make the API slightly more useful. I will take a look at this.

I would imagine this could be implemented through an interpretation of update_device for ports. Need to work out what fields should/shouldn’t be allowed, and the control logic of the function could be improved.

Any update on this. I’ve attempted several times to try and update ports through the API without any luck. I need to update hundreds of ports and have been going about it manually whenever I have time at work. It would be so much easier if I could just use a simple python script to check for certain details and update the ports based on those. Something as simple as checking for admin down and changing settings {“ignore: 1”}.