Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to restrict Role to allow import for only specific api proxies

Hi Apigee Community,

In my company, I'd like to give access to each bunch of api proxies to specific departments (users), for example api proxies A and B should be managed by user C while proxies D and E - by user F.

I already created role roleC (for user C) and roleF (for user F). They can only edit their proxies and no any other proxies.

Now I'd like to ask you how can I add permission to roleC so that user having that role is able to import (from git) proxy A and B. I already tried following calls:

{{MGMTSVR}}/v1/organizations/{{ORG}}/userroles/roleC/permissions

body:

{
"path" : "/applications/proxyA/*",
"permissions" : [ "put", "get" ]
}

OR

{{MGMTSVR}}/v1/organizations/{{ORG}}/userroles/roleC/permissions

body:

{
"path" : "/apis?action=import&name=proxyA",
"permissions" : [ "put", "get" ]
}

Can you help me with adding this restriction?

Regards,

Tomasz

2 4 926
4 REPLIES 4