---
title: "UpdatePageBody"
description: "Request body for updating a Page."
section: "Reference"
group: "Types"
order: 168
---

## Definition

```ts
interface UpdatePageBody {
  title?: string | undefined;
  slug?: string | undefined;
  body?: string | undefined;
  parentId?: string | null | undefined;
}
```

## Fields

| Field      | Type                          | Notes                                                                               |
| ---------- | ----------------------------- | ----------------------------------------------------------------------------------- |
| `title`    | `string \| undefined`         | `optional` — New title.                                                             |
| `slug`     | `string \| undefined`         | `optional` — New slug. Must be kebab-case, unique among siblings, and not reserved. |
| `body`     | `string \| undefined`         | `optional` — New MDX body.                                                          |
| `parentId` | `string \| null \| undefined` | `optional` — Re-parent the page. Pass null to move to top level.                    |
