permission issue

One of the user in organization is getting below error while creating proxy.

"The current organization has zero virtual hosts. Please contact an admin with permission to create a new virtual host."

Tried to give below permissions to custom role in which user is added,but still same issue.

{ "organization": {orgname}, "path": "/environments/*/virtualhosts/*", "permissions": [ "get" ] }

{ "organization": {orgname}, "path": "/environments/*/virtualhosts/", "permissions": [ "get" ] }

0 2 84
2 REPLIES 2

@Amruta Chandankhede,

The permissions with "get" only allows the user to list the virtualhosts. The user should have "put" permissions to create/edit.

Please check the docs here for more info - https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/userroles/%7Brole_name%...

Hi Nagashree,

I dont want to create or edit virtual host.I am getting the error when creating new proxy.

I have copied the permissions from other role into this role after which i do not see the error.

Even the role from where the permissions are copied have get permissions for virtual host.