If you would like to change API Proxy name itself,
I don’t think it’s possible at this point of time using Apigee Edge UI or Management API. Using API also it’s not working. I think API Proxy is uniquely identified using it’s name.
As a work around, You can export the API Proxy using Download option. Delete the API Proxy from Edge UI. Upload the API Proxy and change name using Import API Bundle option while creating the same. But, I am sure there will be an impact on API Products, Apps, Keys if original API Proxy is mapped to any of the API Product. Use with caution
It (Delete → Create as New) works only if API Proxy is not associated with any API Product. It won’t allow you to delete API Proxy if there exists an API Product which maps to same. You need to remove association to API Product → Download API Proxy → Delete API Proxy → Create new Proxy from downloaded Bundle → Associate API Product with new API Proxy. That should solve the problem.
I don’t think it’s possible at this point of time using Apigee Edge UI or Management API. Using API also it’s not working. I think API Proxy is uniquely identified using it’s name. You can export the API Proxy using Download option. Delete the API Proxy from Edge UI. Upload the API Proxy and change name using Import API Bundle option while creating the same.But, I am sure there will be an impact on API Products, Apps, Keys if orginal API Proxy is mapped to any of the API Product.
@Gagan Garg , As said in one of the comment above, I am sure there will be an impact on API Products, Apps, Keys if orginal API Proxy is mapped to any of the API Product. Use with caution
While I’m doing all that, since I’m actually creating a duplicate of an existing proxy, as long as I don’t deploy to the same environment of the original proxy, it should not cause any issues right? In addition, I don’t think Edge is going to allow me to deploy a proxy with the same url.
@Mike Ison, It doesn’t allow even to create different proxy with same url. Edge don’t allow new proxy with same basepath. It will result in error like ‘Error Deploying Path /xxxxxxx conflicts with existing deployment path for revision 1 of the APIProxy xxxxxx in organization xxxxxxxx’
Hmmm … good to know. So does it mean that before I import the API Bundle, I need to delete the old proxy? If so, then I might have to do this when traffic is low so that there is less impact to our API clients.
Dear @Mike Ison , It works only if API Proxy is not associated with any API Product. It won’t allow you to delete API Proxy if there exists an API Product which maps to same. You need to remove association to API Product → Download API Proxy → Delete API Proxy → Create new Proxy from downloaded Bundle → Associate API Product with new API Proxy.
Yes, I do see the same. But, you cannot deploy to any environment. It throws an error while creating API Proxy. You can see error while creating proxy.
As I have experienced in Deleting Proxy API, some time even after deletion , it is not deleted. It is no visible in Edge UI and if you call the API, it is return the response.
Any one has any idea to change the existing basePath? If change the existing basePath without deleting the Proxy API, it is working for both basePath - old as well as new - in the same API.