If you want to undeploy the application and all related services and resources from your Cloud Foundry environment, please perform the following steps:
$ cf login -a https://api.cf.<<region>>.hana.ondemand.comStart the undeployment, by running the following command.
# Run in project's root folder #
npm run undeployImportant - Please make sure to have the latest version of the Cloud Foundry CLI installed and your multiapps plugin (click here) is up-to-date. In older versions of the multiapps plugin, the option --delete-service-keys does not exist yet!
Cloud Foundry
Check within the SAP BTP Cockpit or using the Cloud Foundry CLI, whether all Applications, Services Instances and Service Bindings have been successfully removed from your Cloud Foundry landscape in your Provider Subaccount. If any artifacts remain, please delete them manually. Please delete them manually in the following order:
- Application instances
- Service keys
- Service instances
In case of failed deletions (e.g., XSUAA, Destination Service or SaaS-Registry), please check the General section below!
Please use the following links to find further information on the topics above: