// Module included in the following assemblies:
//
:_mod-docs-content-type: PROCEDURE
[id="aws-load-balancer-operator-deleting_{context}"]
= Removing the AWS Load Balancer Operator

[role="_abstract"] 
If you no longer need to use the AWS Load Balancer Operator, you can remove the Operator and delete any related roles and policies.

.Procedure

. Delete the Operator Subscription:
+
[source,terminal]
----
$ oc delete subscription aws-load-balancer-operator -n aws-load-balancer-operator
----

. Detach and delete the relevant AWS IAM roles:
+
[source,terminal]
----
$ aws iam detach-role-policy \
  --role-name "<cluster_id>-alb-operator" \
  --policy-arn <operator_policy_arn>
----
+
[source,terminal]
----
$ aws iam delete-role \
  --role-name "<cluster_id>-alb-operator"
----

. Delete the AWS IAM policy:
+
[source,terminal]
----
$ aws iam delete-policy --policy-arn <operator_policy_arn>
----
