> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Kubernetes Cluster

Deletes the cluster, including the Kubernetes endpoint and all worker nodes.

Firewalls and routes that were configured during cluster creation are also deleted.

Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.

<Note>
  External Documentation

  To learn more, visit the [GCP documentation](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/delete).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter | Description                                                                                                                           |
  | --------- | ------------------------------------------------------------------------------------------------------------------------------------- |
  | Cluster   | The name of the cluster to delete.                                                                                                    |
  | Location  | The name of the Google Compute Engine [location](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. |
  | Project   | The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).                        |
</div>

## Example Output

```json theme={"dark"}
{
	"name": "operation-1674038758613-96a46b6d",
	"zone": "us-central1",
	"operationType": "DELETE_CLUSTER",
	"status": "RUNNING",
	"selfLink": "https://container.googleapis.com/v1/projects/my-project/locations/us-central1/operations/operation-1674038758613-96a46b6d",
	"targetLink": "https://container.googleapis.com/v1/projects/my-project/locations/us-central1/clusters/my-cluster",
	"startTime": "2023-01-18T10:45:58.613658812Z"
}
```

## Workflow Library Example

[Delete Kubernetes Cluster with Gcp and Send Results Via Email](https://library.blinkops.com/workflows/delete-kubernetes-cluster-with-gcp-and-send-results-via-email)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/delete-kubernetes-cluster-with-gcp-and-send-results-via-email/canvas" />
</div>
