Hi,
we can create a new policy using following endpoint :
https://api.enterprise.apigee.com/v1/organizations/org/apis/yourapi/revisions/1/policies
Is there a way we can update the created policy via management API?
Solved! Go to Solution.
With little bit of experimentation, I was able to update the policy using below CURL command:
curl -X POST \ https://api.enterprise.apigee.com/v1/organizations/yourorg/apis/apiname/revisions/1/policies/policyn... -H 'Accept: application/json' \ -H 'Authorization: Basic yourauth' \ -H 'Content-Type: application/xml' \ -H 'Postman-Token: 078b4524-4311-44cf-9e8f-9cc98142978b' \ -H 'cache-control: no-cache' \ -d 'your assign message policy'
Unfortunately, Apigee has not document these API's any where.