Uninstall OneAgent from Cloud Foundry

Uninstalling the DESK 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:

releases:
    - name: desk-onagent
      version: 1.1.0
      #specify version of latest release

Update the runtime configuration without DESK-related jobs.

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

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

bosh -e my-env -d deployment deploy