Was this helpful?

 

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

API Resource Path:

/resources

Description: Creates a resource

Verb: POST
Auth: Basic Auth
Media types:
application/json
text/xml

 

Overview:

This call creates a resource for role-based access control (RBAC) within an organization on Apigee Edge.

An RBAC resource is a URI path that represents a protected resource on Apigee Edge.

Once an RBAC resource has been created, the resource can be associated with GET, PUT, and/or DELETE permissions.

RBAC applies only to resources that are invoked using the Edge management API. RBAC resources do not protect runtime API resources. For runtime authorization, use security policies.

Sample Request:
$ curl -H "Content-type:application/json" -X POST -d \
'{
    "displayName" : "Reports",
    "path" : "/reports"
  }' \
https://api.enterprise.apigee.com/v1/o/{org_name}/resources \
-u myname:mypass
Sample Response:
{
    "displayName" : "Reports",
    "path" : "/reports"
  }

 

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?)