---
title: "Duplicate a workspace's content and color/icon under a new name"
method: POST
path: "/workspaces/{id}/duplicate"
tags: ["Workspaces"]
---

# Duplicate a workspace's content and color/icon under a new name

`POST /workspaces/{id}/duplicate`

## Path parameters

- `id` integer, required

## Request body

- object
  - `name` string

## Response `200`

New workspace created from the duplicate.

## Other responses

- `404` — Workspace not found.

---

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