Uninstall OneAgent from Cloud Foundry

Uninstalling the Dynatrace OneAgent for BOSH add-ons requires that you update the runtime configuration with an “empty” manifest and re-deploy all BOSH deployments that the add-ons have executed.
Following is an example empty runtime configuration:

    - name: dynatrace-onagent
      version: 1.1.0
      #specify version of latest release

Update the runtime configuration without Dynatrace-related jobs.

bosh -e my-env update-runtime-config PATH/runtime-config-uninstall-dynatrace.yml

Deploy your changes and uninstall OneAgent from your Cloud Foundry VMs.

bosh -e my-env -d deployment deploy