a api problem, how to use /ip route remove [find routing-mark=test]

I want remove a route, in CLI is : /ip route remove [find routing-mark=test ], this command run successfully
but how to use it in api ?
1: /ip/route/remove =routing-mark=test this command can’t run
2: /ip/route/remove =find=routing-mark=test this command can’t run too
3: /ip/route/remove/find =routing-mark=test ths conmmand cant run too

how can run it ? please help me, thanks

There is no such thing as “find” in API, read the manual about API queries and search the forum, it has been asked many times before:
https://wiki.mikrotik.com/wiki/Manual:API#Queries