Applying zero trust only to specific path query parameters

I have an application where the login screen has path:

/i/?c=auth&a=login

I want to apply zero trust to this only and not any other queries to /i/?par=val

Is this possible? I tried and it seemed to apply to everything under /i/ unless I was setting something up wrong.