Skip to Content

Undeploy Your Multi-Target Application (MTA)

0 %
Undeploy Your Multi-Target Application (MTA)

Undeploy Your Multi-Target Application (MTA)

November 3, 2021
Created by
June 14, 2021
This tutorial shows you how to undeploy your Multi-Target Application (MTA) from Cloud Foundry.

You will learn

  • How to undeploy your Multi-Target Application (MTA)
QR code

Step 1: Undeploy your Multi-Target Application (MTA)

To undeploy (delete) an mtar, you don’t need to delete the apps and the services individually. The deploy service on Cloud Foundry keeps track on the deployed mtar and its resources.

You can undeploy the applications and their service instances. Undeploying the applications and their service instances will also delete the data stored in these instances (for example, database content).

Execute the following command to delete applications and service instances (keep in mind that this will delete all data stored in the application):

cf undeploy cpapp --delete-service-keys --delete-services

Delete applications only.

Alternatively, you can delete only the applications with the following command:

cf undeploy cpapp
Log on to answer question

Step 2: Summary

Congratulations! You have completed all tutorials.

What command was used to delete Multi-Target Applications (MTA) from Cloud Foundry?

Next Steps

Back to top