# Clusters.Delete

```go
func (*ClusterClient) Delete(ctx context.Context, slug string) error
```

Delete a cluster by its slug.

## Parameters

**slug**

`string`

The slug of the cluster to delete

## Returns

An error if the cluster could not be deleted.

```go title="Go"
err := client.Clusters.Delete(ctx,
    "my-cluster-tZD9Ca1qsqt3V"
)
```

## Errors

**not\_found**

`cluster not found`

The specified cluster does not exist.
