---
title: "Deep copy a page and all its content"
method: PUT
path: "/api/v1/page/{pageId}/_deepcopy"
tags: ["Page"]
---

# Deep copy a page and all its content

`PUT /api/v1/page/{pageId}/_deepcopy`

Creates a deep copy of a page: (1) creates a copy of the page itself, and (2) for each contentlet in the multi-tree related to the page, creates a copy. Returns the copied page as a map of properties.

## Path parameters

- `pageId` string, required

## Response `200`

Page deep copied successfully

- ResponseEntityMapView
  - `errors` ErrorEntity[]
    - `errorCode` string
    - `message` string
    - `fieldName` string
  - `entity` object
  - `messages` MessageEntity[]
    - `message` string
  - `i18nMessagesMap` object
  - `permissions` string[]
  - `pagination` Pagination
    - `currentPage` integer
    - `perPage` integer
    - `totalEntries` integer

## Other responses

- `401` — Authentication required
- `403` — User does not have required permissions
- `404` — Page not found

---

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