Share via

Restricting API operation by Product

Larry Wall (AZURE DEV) 106 Reputation points Microsoft Employee
2021-01-15T01:24:37.67+00:00

I have an API that I created by importing an Azure Function.

For one of my products that is using this API, I want to hide/block calls to one of the operations in this API.

Is there a sample of how to do this? I believe it would be an inbound policy on the operation level, but I'm not sure of the syntax.

Thanks!

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.


Answer accepted by question author

Larry Wall (AZURE DEV) 106 Reputation points Microsoft Employee
2021-01-15T17:18:24.187+00:00

I figured out the easiest way to do this is to put that one API call into its own API and remove it from the more general API I built from importing the function.

Thanks!

Larry

Was this answer helpful?

2 people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.