// Module included in the following assemblies:
//
// * networking/enable-cluster-wide-proxy.adoc

:_mod-docs-content-type: PROCEDURE
[id="nw-proxy-remove_{context}"]
= Removing the cluster-wide proxy

[role="_abstract"]
The `cluster` Proxy object cannot be deleted. To remove the cluster-wide proxy configuration from your {product-title} cluster, you can remove all spec fields from the `Proxy` object by using the `oc edit` command.

.Prerequisites

* Cluster administrator permissions
* {product-title} `oc` CLI tool installed

.Procedure

. Use the `oc edit` command to modify the proxy:
+
[source,terminal]
----
$ oc edit proxy/cluster
----

. Remove all `spec` fields from the Proxy object. For example:
+
[source,yaml]
----
apiVersion: config.openshift.io/v1
kind: Proxy
metadata:
  name: cluster
spec: {}
----

. Save the file to apply the changes.