Generate experiences with Puck AI
Read docs
CloudAPI referencecloud-clientServer APIspages.update

pages.update

Puck Pages is experimental and may change in a future release.

Update a page. Use it to change the page’s path.

await puck.pages.update("page_123", { path: "/company" });
// { id: "page_123", path: "/company", data: { root: { props: {} }, content: [] }, version: 3, publishedVersion: 2, status: "draft", createdAt: "2026-10-30T12:00:00.000Z", createdBy: "user_123" }

Returns the updated Page.

Args

ParamExampleTypeStatus
id"page_123"StringRequired
params{ path: "/company" }ObjectRequired
options{ auth: {} }Object-

id

The page’s id.

params

What to change on the page.

ParamExampleTypeStatus
pathpath: "/company"StringRequired

path

The page’s new path.

options

Set the request options for this call.