alinulms
alinulms

Reputation: 519

Is it possible to make a call to an Azure API Rest url without a subscription key?

I just want to be able to do a rest call using Azure Web Api Management without needing to pass the subscription-key in the url. Is that possible?

Upvotes: 5

Views: 2908

Answers (2)

Rudy Scoggins
Rudy Scoggins

Reputation: 451

You can do this:

API Management Portal -> Product -> click a product -> Settings -> Require Subscription

However, the subscription key provides identification to the Azure API portal. Without it, you lose analytics, security, throttling...basically every reason why you would want to want to use API Management in the first place.

Unless you have a reason to uncheck this and still use API management (which you might have), I would recommend letting the user just hit the API directly if you don't want subscription keys. I only would uncheck this checkbox if I had a special product line for demonstration purposes.

Upvotes: 3

Erik Oppedijk
Erik Oppedijk

Reputation: 3553

Azure API management allows for anonymous subscriptions.

Create a Product without requiring a subscription (Product -> Settings -> Require Subscription) Add your API to this product.

https://azure.microsoft.com/en-us/documentation/articles/api-management-howto-add-products/

Upvotes: 4

Related Questions