---
title: "Update cluster"
method: PUT
path: "/v1/cluster/{id}"
tags: ["Cluster"]
---

# Update cluster

`PUT /v1/cluster/{id}`

Update cluster

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- ClusterUpdateClusterRequest
  - `storage_class` string

## Response `200`

include kubeconfig

- ModelClusterModel
  - `created_at` string
  - `id` integer
  - `info` string
  - `kubeconfig` string, required
  - `name` string, required
  - `server` string
  - `storage_class` string
  - `user_id` integer

## Changes

> 43 revisions in range; 1 could not be searched.

- **2020-12-28** `e5ec0d876063` — 1 warning
  - deleted the `path` request parameter `space_id`
- **2020-12-24** `71239b0abfc6` — 1 info
  - endpoint added
- **2020-10-29** `626c0be310f3` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/changes/v1/cluster/:id/put.md)

---

[API](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api.md) · [All operations](https://skmtc.dev/nocalhost/apis/nocalhost-docs-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nocalhost/nocalhost-docs-api/revisions/9f53c7025f7a/schema)
