Automated Addition Updation & Deletion of Policies in API Proxies

Hi

We have automated the importing and publishing of API Proxies (approx 500 bundles with same Policies) using Edge Management Server calls.

Now our requirement is that if we need to add/update/delete only the policies (which are same in all the bundles) across API Proxies with no change in API's base path , then is there a call which we can use to only update the policies without changing the revision of the API Proxies ?

Or Do I need to do the bundling (with policies) and importing / publishing of API Proxies with new revision ?

Thanks

0 1 86
1 REPLY 1

Not applicable

You will need to bundle the proxy with the updated policies, but can use the following call to update an existing revision:

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


Update API Proxy Revision: https://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/revisi...

Additionally, this could be a candidate for Shared Flows, where the shared policies can be maintained outside of the proxies that use them. More details on Shared Flows: http://docs.apigee.com/api-services/content/shared-flows