capabilities.work

Tear Down Environment

A 3-step recipe with MuleSoft. We can help you get access.

Recipe · 3 steps

Tear Down Environment

Remove an application and then delete its environment.

  1. Delete the CloudHub application running in the environment to free its resources.
  2. List the applications in the environment to confirm it is empty before deleting it.
  3. Delete the now-empty environment from the organization.
What you'll need to have ready
  • bearerToken: Anypoint Platform bearer access token.
  • orgId: The organization id that owns the environment.
  • environmentId: The environment id to tear down.
  • appDomain: The CloudHub domain of the application to delete first.
For your developer

Arazzo workflow mulesoft:teardown-environment, 3 operations: deleteApplication → listApplications → deleteEnvironment. Specs on APIs.io.