Send Docs Feedback

Create a policy for an API proxy revision

Resource Summary

Security

Content Type

application/xml

Category

Policy,

Createapolicy

POST

Create a policy for an API proxy revision

Creates a policy for a specific API proxy revision. Use this as an alternative to creating a policy in the management UI. Edge validates the policy, and you'll receive an error if the policy is invalid. For information on creating policies, see the documentation for individual policies in the Policy reference overview.

 

To use the new policy in the API proxy revision, you must attach it to the desired place in the proxy flow. 

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/apis/{api_name}/revisions/{revision}/policies

Header Parameters

Name Values Description
Content-Type
(required)

application/xml

Accept
(required)

application/xml or application/json. Policy definitions are in XML, but you can alternatively view the response in JSON.

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?