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

# Update dev space

`PUT /v1/dev_space/{id}`

Update dev space

## Path parameters

- `id` string, required

## Headers

- `Authorization` string, required

## Request body

- ClusterUserDevSpaceRequest
  - `kubeconfig` string
  - `space_name` string

## Response `200`

OK

- ModelClusterUserModel
  - `application_id` integer — Deprecated
  - `base_dev_space_id` integer
  - `cluster_admin` integer
  - `cluster_id` integer
  - `cpu` integer
  - `created_at` string
  - `id` integer
  - `is_base_space` boolean
  - `kubeconfig` string
  - `memory` integer
  - `namespace` string
  - `space_name` string
  - `space_resource_limit` string
  - `status` integer
  - `trace_header` ModelHeader
    - `key` string
    - `type` string
    - `value` string
  - `user_id` integer

---

[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)
