UpdatePageBody
Request body for updating a Page.
Definition
TypeScript
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. |