batch remove static ip

Hi all, i have a problem. I have to test each user and remove the static ip only if it is in a specific network.
For example if static-ip=192.168.4.x then i want to remove it else if it is 192.168.3.x do not remove it.
Can this be done with a script? Can some one help me?
Thank you

Hi there

Im also having a similar problem.

Ive spent hours probably days searching to try find a way or how to remove IPs and MAC that ive set as static to not be static in the ARP list and also in the DHCP LEASES LIST.

Resetting the config or resetiing the hardware does NOT clear the lists.

Have you found a way to remove or are you still looking?