Disable IP address script

I’m trying to find a way to disable an IP address without it’s number known, I need it for a script.
Example: I have 10.0.0.1/8 on ether1
I need a something that will let me disable it by finding it based on the “address” value. I thought this could be done using “ip address find”, but I had no luck.
This is what I tried:
ip address remove [find address=10.0.0.1/8]
The command didn’t return any errors, but it didn’t do anything either. Any ideas?

try this, is working for me tested in 6.9 version.
ip address remove [find address=“10.0.0.1/8”]

That did work, much appreciated, thanks!