// Module included in the following assemblies:
//
// * security/security_profiles_operator/spo-uninstalling.adoc

:_mod-docs-content-type: PROCEDURE
[id="spo-uninstall-console_{context}"]
= Uninstall the Security Profiles Operator by using the web console

[role="_abstract"]
To remove the Security Profiles Operator, you must first delete the `seccomp` and SELinux profiles. After the profiles are removed, you can then remove the Operator and its namespace by deleting the *openshift-security-profiles* project.

.Prerequisites

* You have access to the web console as a user with `cluster-admin` privileges.
* The Security Profiles Operator is installed.

.Procedure

. Navigate to the *Ecosystem* -> *Installed Operators* page.

. Delete all `seccomp` profiles, SELinux profiles, and webhook configurations.

. Switch to the *Administration* -> *Ecosystem* -> *Installed Operators* page.

. Click the Options menu {kebab} on the *Security Profiles Operator* entry.
. Select *Uninstall Operator*.

. Switch to the *Home* -> *Projects* page.

. Search for `security profiles`.

. Click the Options menu {kebab} next to the *openshift-security-profiles* project.
. Select *Delete Project*.

.. Enter `openshift-security-profiles` in the dialog box.
.. Click *Delete*.

. Delete the `MutatingWebhookConfiguration` object by running the following command:
+
[source,terminal]
----
$ oc delete MutatingWebhookConfiguration spo-mutating-webhook-configuration
----
