create Api proxy from Apigee management call with verify api key policy attached

I want to create Api proxy from Apigee management call. I also want to attached verify api key policy while creation of the api proxy. I am aware of creation of api proxy from management call, however, not sure how to attached policies from the management call. This requirement is for automation purpose. We want to create an api proxy and attach verify api key policy.

0 3 115
3 REPLIES 3

It sounds like what you want is to have a "template" proxy, which you download an export of like this: https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/revi... then modify the zip locally to change the name and re-upload to create a new proxy using this API: https://apidocs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/apis-0

Thanks @Christian King for your prompt response, however, your approach involved manual work. Export then modify and again import. My objective is automation. I want to create Api proxy in apigee edge from management call/rest api with one policy ( Verify api key ) attached.

Hi @Abhishek Pandey

I think you can create a subflow and the developer can use flow hooks to invoke the subflow.