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

# Restore Page

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

## 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}/restore`
- Auth: HTTP bearer

Restore a deleted page from trash.

## Path parameters

- `page_id` string, uuid, required

## 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)
