My site is receiving thousands of spam links to its search pages. I've fixed the issue on my side and these links now result in 404 pages. The spammers are still creating new links which are still being reported in AHrefs though. This is causing completely bloated Backlinks stats and reports.
I'd like to be able to remove backlinks to a destination URL prefix (https://example.com/search/ in this case).