---
title: "Duplicate a project"
method: POST
path: "/v0/api/projects/{projectGroupId}/duplicate"
tags: ["Projects"]
---

# Duplicate a project

`POST /v0/api/projects/{projectGroupId}/duplicate`

## Request

- Base URL: `https://api.anything.com`
- URL: `https://api.anything.com/v0/api/projects/{projectGroupId}/duplicate`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/anything/apis/anything-api/docs/v0/api/projects/:projectGroupId/duplicate/post.ts> (a function with typed inputs; its response is checked against the schema)

Duplicates an existing project group into the same organization and returns the new project group ID.

## Path parameters

- `projectGroupId` string, uuid, required

## Request body

- object
  - `name` string

## Response `201`

Duplicate created

- object
  - `projectGroupId` string, uuid, required
  - `name` string, required

## Other responses

- `400`: Invalid request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not found — the referenced resource does not exist (including malformed resource IDs)

---

[API](https://skmtc.dev/anything/apis/anything-api.md) - [All operations](https://skmtc.dev/anything/apis/anything-api/llms.txt) - [OpenAPI document](https://skmtc.dev/anything/apis/anything-api/revisions/1475488f3446?raw)
