Skip to content

UpdatePagesPayload

Defined in: pages/pages.ts:45

The body of a Pages update request; every field is optional.

optional build_type?: PagesBuildType

Defined in: pages/pages.ts:47

How the site is built.


optional cname?: string | null

Defined in: pages/pages.ts:56

The custom domain, or null to remove it.


optional https_enforced?: boolean

Defined in: pages/pages.ts:58

Whether to enforce HTTPS.


optional source?: object

Defined in: pages/pages.ts:49

The branch and folder to publish from.

branch: string

The branch the site is published from.

path: string

The folder on the branch, / or /docs.