// Module included in the following assemblies:
//
// * security/external_secrets_operator/external-secrets-operator-migrate-downstream-upstream.adoc

:_mod-docs-content-type: PROCEDURE
[id="external-secrets-operator-uninstall-helm_{context}"]
= Uninstalling a helm installed community {external-secrets-operator-short}

[role="_abstract"]
Remove the community {external-secrets-operator-short} that was installed using Helm. This helps you free up resources and maintain a clean environment for your cluster.

.Prerequisites

* You must be logged in as a user with the `cluster-admin` role.

* You must have deleted the `operatorconfig` custom resource (CR).

.Procedure

. Install the {external-secrets-operator}. The `external-secrets-operator` namespace must be null.

. Delete the {external-secrets-operator-short} by running the following command:
+
[source,terminal]
----
$ oc helm delete <release_name> -n <operator_namespace>
----
+
[NOTE]
====
Using `helm delete` might delete all Custom Resource Definitions (CRDs) and CRs. It is recommended to install the downstream Operator first if the namespace `external-secrets-operator` is empty.
====
