Was this helpful?

API Platform Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/userroles/{role_name}/permissions

Description: Gets permissions for all resources associated with a user role

Verb: GET
Auth: Basic Auth
Media types:
application/json
text/xml
Sample Request:
$ curl -X GET -H "Accept:application/json" \ 
https://api.enterprise.apigee.com/v1/o/{org_name}/userroles/businessuser/permissions \
-u myname:mypass
Sample Response:
{
  "resourcePermission" : [ {
    "organization" : "apifactory",
    "path" : "/",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/applications",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/apiproducts",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/developers",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/apps",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/companies",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*/stats",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*/analytics/admin",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/axCustomReports",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*/applications/*/revisions/*/deployments",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/applications/*/revisions/*/deployments",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/test/applications/*/revisions/*/deployments",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/deployments",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/test/applications/*/revisions/*/debugsessions",
    "permissions" : [ "put", "delete", "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/devPortalButton",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/userroles/*/permissions",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/appKeys",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/devConnectUser",
    "permissions" : [ "put" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*/virtualhosts",
    "permissions" : [ "get" ]
  }, {
    "organization" : "apifactory",
    "path" : "/environments/*/virtualhosts/*",
    "permissions" : [ "get" ]
  } ]
}

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)