---
title: "Duplicate a table"
method: POST
path: "/v1/table/{table_id}/duplicate"
tags: ["Table"]
---

# Duplicate a table

`POST /v1/table/{table_id}/duplicate`

Create a duplicate of an existing table along with its data, settings, and optionally linked tables.

## Path parameters

- `table_id` string, uuid, required

## Request body

- DuplicateTableQueryParams
  - `context` BaseRequestContext
    - `projectId` string, uuid
    - `processPublicId` string, uuid, nullable
    - `processSectionPublicId` string, uuid, nullable
    - `processResponsePublicId` string, uuid, nullable
  - `targetProjectId` string, uuid, required
  - `duplicateLinkedTables` boolean, nullable
  - `duplicatePermissions` boolean

## Response `201`

Successfully started the table duplication process

- object
  - `data` string
  - `metadata` object

## Other responses

- `403` — Unauthorized action - User lacks necessary permissions.
- `404` — Table not found.

---

[API](https://skmtc.net/morta-technology/apis/morta-api-reference.md) · [All operations](https://skmtc.net/morta-technology/apis/morta-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/morta-technology/morta-api-reference/versions/9c58c1c1e7e8/schema)
