Find the item number

Hello
I want to disable an ip address based on ether information. For example i want to disable the ip address of ether2. Iknow that i should know the item number of this ip. How can i disable ether 2 ip address with script.

/ip address disable [find where interface=ether2]

Thanks
What about when we want to disable based on ip address. Is this correct?
/ip address disable [find where address=192.168.1.1/24]

That doesn’t work, but I had success with quotes:

/ip address disable [find where address="192.168.1.1/24"]

I really appreciate it.