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

# Clusters.Update

```go theme={"system"}
func (*ClusterClient) Update(
    ctx context.Context,
    slug string,
    options ...cluster.UpdateOption,
) (*workflows.Cluster, error)
```

Update a cluster.

## Parameters

**slug** `string`

The slug of the cluster to update.

**cluster.WithName(name string)** `cluster.UpdateOption`

Optional new display name for the cluster.

**cluster.WithDescription(description string)** `cluster.UpdateOption`

Optional new cluster description. Pass an empty string to clear the description.

## Returns

The updated cluster object, including its slug, name, description, whether it can be deleted, and deployed workflows.

```go Go theme={"system"}
updatedCluster, err := client.Clusters.Update(ctx,
    "dev",
    cluster.WithName("Development"),
    cluster.WithDescription("Development workloads"),
)
```

## Errors

**not\_found** `cluster not found`

The specified cluster does not exist.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.