Skip to main content

Apply ClientID policy for a specific method (GET) and the URI should have a specific parameter else no need to apply policyHi, I have a requirement where I need to apply policy for a GET resource and the URI has query parameter. As an example.

 

GET https://mydomain.com:443/employer/v1/{empid}?retireve=personalInfo

 

in the above, I have to apply client id policy for the above GET resource in the API and also when retrieve=personalInfo query param exists else I should not apply client id enforcement. I tried with the below which did not work..

 

#(attributes.queryParams.retireve=="personalInfo")

 

Regular Expression ^(?=.*retireve==personalInfo).*$

 

Please help if any one is having an idea. Thanks in Advance.

1 answer
  1. Aug 2, 2021, 5:42 AM

    Hi, Please let me know if any one is aware of this. Thanks!

0/9000