:_mod-docs-content-type: ASSEMBLY
[id="rosa-hcp-deleting-cluster"]
= Deleting a {product-title} cluster
include::_attributes/attributes-openshift-dedicated.adoc[]
:context: rosa-hcp-deleting-cluster

toc::[]

[role="_abstract"]
You can delete a {product-title} cluster by using either the {cluster-manager-first} or the {rosa-cli-first}. After deleting the cluster, you can clean up the AWS Identity and Access Management (IAM) resources that were used by the cluster.

include::modules/rosa-hcp-deleting-cluster.adoc[leveloffset=+1]

include::modules/rosa-deleting-sts-iam-resources-account-wide.adoc[leveloffset=+1]

include::modules/rosa-deleting-account-wide-iam-roles-and-policies.adoc[leveloffset=+2]

[role="_additional-resources"]
.Additional resources

* xref:../rosa_architecture/rosa-sts-about-iam-resources.adoc#rosa-sts-about-iam-resources[About IAM resources]

include::modules/rosa-unlinking-and-deleting-ocm-and-user-iam-roles.adoc[leveloffset=+2]