---
title: "Update kubeconfig"
method: PUT
path: "/kapis/cluster.kubesphere.io/v1alpha1/clusters/{cluster}/kubeconfig"
tags: ["Multi-cluster"]
---

# Update kubeconfig

`PUT /kapis/cluster.kubesphere.io/v1alpha1/clusters/{cluster}/kubeconfig`

## Path parameters

- `cluster` string, required

## Response `200`

ok

---

[API](https://skmtc.net/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.net/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kubesphere/ks-api/revisions/0451c8cec9b1/schema)
