How to force undeploy an API Proxy

In some isolated situations, you may need to forcibly undeploy a proxy that is partially deployed. Use the following command to ignore validations and undeploy:

curl -v -u $USERID:$PASSWORD -X POST "https://api.enterprise.apigee.com/v1/organizations/<org>/apis/<api>/revisions/<revisions_number>/deployments?action=undeploy&env=<env>&force=true"

Note, this can only be done via a Management API call, and not in the UI.

Comments
sgilson
New Member

@Alex Toombs Thanks Alex, I added this to the doc here:

http://apigee.com/docs/management/apis/post/organi...

Stephen

Version history
Last update:
‎10-22-2015 02:41 PM
Updated by: