Bellow you can see my resource
<Flow name="get /v1/myresource">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/v1/myresource") and (request.verb = "GET")</Condition>
</Flow>
<Flow name="options /v1/myresource">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/v1/myresource") and (request.verb = "OPTIONS")</Condition>
</Flow>
<Flow name="put /v1/myresource/{Id}">
<Description>Update myresource by id</Description>
<Request>
<Step>
<Name>Verify-Api-Key</Name>
</Step>
</Request>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/v1/myresource/*") and (request.verb = "PUT")</Condition>
</Flow>
How can I define different permissions for my resource? What I mean is with an Api key:
-
I want Dev A - App A just access the verb GET
-
I want Dev B- App B access GET and PUT
-
I want Dev C - App c access GET, OPTION, and PUT
Thank you very much for your help