How do you allow most devs to GET a resource, but limit who can POST, PUT and DELETE?

Not applicable

How can you make it so that only a few registered applications can post, put and delete a resource, but others can read? Do you have to create different products just to make this distinction between permissions?

Solved Solved
0 1 134
1 ACCEPTED SOLUTION

So, on resource level you can still use the API Products. Although OOTB there is no validation on the HTTP Verb. So hopefuly you can distinguish the Verb by having different resources, but that might not be the case, such as;

GET /resources

POST /resource

An interesting solution to this might be this post, which doesn't even seem that much effort to implement:

https://community.apigee.com/articles/2514/how-to-restrict-api-resources-by-their-full-path-a.html

View solution in original post

1 REPLY 1

So, on resource level you can still use the API Products. Although OOTB there is no validation on the HTTP Verb. So hopefuly you can distinguish the Verb by having different resources, but that might not be the case, such as;

GET /resources

POST /resource

An interesting solution to this might be this post, which doesn't even seem that much effort to implement:

https://community.apigee.com/articles/2514/how-to-restrict-api-resources-by-their-full-path-a.html