Is there a way to create a API which does not require the caller to pass in the Ocp-Apim-Subscription-Key without having to create a separate product and un-checking the Require subscription checkbox. What I want is within the same product to have some APIs which require the Ocp-Apim-Subscription-Key to be passed in and some APIs which can be called without passing the Ocp-Apim-Subscription-Key in the request header.
1
votes
2 Answers
1
votes
We cannot achieve it without un-checking the Require subscription checkbox.
I have been working around APIM these days, and as per my understanding we need to create a new Product, which doesnot require subscription.
And Ideally we should write some throttling policies to all open products. Lower rate limit for guest, and higher limit for the users with subscription key.