---
schema_version: "1"
id: 8f77046684159a66dabe135e283d0c5d58e5bf43ccb83e23a595dc13fa18d4d4
title: Undeploying Message Flows
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/partner-manager/latest/undeploy-message-flows.md
canonical_url: https://docs.mulesoft.com/partner-manager/latest/undeploy-message-flows
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 687123abda25a86bb82adb7c2226ae3279ffbfbcd853df5fdf1269eb74410522
description: MuleSoft Documentation Site
release: 2.x
latest: true
---
---
product: Partner Manager
version: 2.x
is-latest-version: true
---

# Undeploying Message Flows

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

Undeploying a message flow prevents future messages from being processed and enables you to recover
resources that are consumed by a message flow that you no longer need.

You can undeploy your message flow from either a sandbox or a production environment. The
undeployment process takes about five minutes, during which actions such as `Deploy` and `Delete`
are unavailable.

> [!IMPORTANT] During the undeployment process, do not log out of Anypoint Partner Manager or close
> your browser window.

To undeploy a message flow:

1.  In the sidebar, select **Message Flows**.

2.  Select the message flow to undeploy from the list and click **Undeploy**.

Partner Manager checks to see if any of the applications deployed to Mule are orphaned as a result
of the undeployment. Partner Manager then cleans up orphaned applications to release any resources
that the applications consumed.

## See Also

- [Deploying and Testing Message Flows](https://docs.mulesoft.com/partner-manager/latest/deploy-message-flows)

- [Creating Inbound Message Flows](https://docs.mulesoft.com/partner-manager/latest/create-inbound-message-flow)

- [Creating Outbound Message Flows](https://docs.mulesoft.com/partner-manager/latest/create-outbound-message-flow)
