---
title: "Move Page"
method: POST
path: "/api/pages/{page_id}/move"
tags: ["pages"]
---

# Move Page

`POST /api/pages/{page_id}/move`

## Request

- Base URL: `https://app.ctlsurf.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.ctlsurf.com/api/pages/{page_id}/move`
- Auth: HTTP bearer

Move a page to a new parent or reorder within siblings.

Supports merge (moving root page under another project) and split
(promoting child page to root with a new folder).

## Path parameters

- `page_id` string, uuid, required

## Query parameters

- `new_parent_id` string, uuid, nullable
- `new_order` integer, nullable

## Request body

- PageMoveRequest
  - `new_parent_id` string, uuid, nullable
  - `new_order` integer, nullable
  - `merge_folder` boolean
  - `split_folder` boolean
  - `split_folder_name` string, nullable
  - `split_folder_root_path` string, nullable
  - `split_folder_git_remote` string, nullable

## Response `200`

Successful Response

- PageResponse
  - `title` string
  - `root_path` string, nullable
  - `repo_url` string, nullable
  - `tags` string[]
  - `type` string
  - `id` string, uuid, required
  - `parent_id` string, uuid, nullable
  - `folder_id` string, uuid, nullable
  - `user_id` string, uuid, required
  - `order` integer
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable
  - `is_project` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/ctlsurf/apis/notebook-control-plane.md) · [All operations](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/ctlsurf/apis/notebook-control-plane/revisions/ddfbbe20d5ce?raw)
