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"
  }

 

Add new comment

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.