---
title: "ReCreate devSpace"
method: POST
path: "/v1/dev_space/{id}/recreate"
tags: ["DevSpace"]
---

# ReCreate devSpace

`POST /v1/dev_space/{id}/recreate`

delete devSpace and create a new one

## Path parameters

- `id` integer, required

## Headers

- `Authorization` string, required

## Response `200`

OK

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

## Changes

- **2021-06-28** `50a60c511eed` — 2 info
  - api tag `DevSpace` added
  - api tag `Application` removed
- **2020-12-28** `9751d090b780` — 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/dev_space/:id/recreate/post.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)
