Notes on bulk deletion of API proxies, Apps, etc. with apigee-migrate-tool

0 1 189

Hello,

Let me please share some notes on 'Apigee Organization Data Migration Tool'.
https://github.com/apigeecs/apigee-migrate-tool

To delete the existing API proxies of some org/env simply running 'grunt deleteProxies' doesn't work.
It' because we need the data stored on the /data folder first.
And then Delete is executed with referring to the data just like importing data on other org.

So, we need to execute delete with the following steps.

1. specify both from: and to: directives on config.js file with the same org/env, etc. of the target resources to be deleted
2. run 'grunt exportProxies' 3. run 'grunt deleteProxies'
It's the same for the other resources like Apps, etc.
I hope this would help who is stuck on the same point.

Regards,
Toshi
Comments
rajabhishekranj
New Member

@Toshihiro Shibamoto

Also when we are exporting the proxies using 'grunt exportProxies' , this downloads the last revision of the proxy. What if the deployed revision is for ex . 5 and last revision is rev . 8 . If we need to download the deployed revision only and not the last revision, is it possible via grunt??

Version history
Last update:
‎03-07-2018 11:51 PM
Updated by: