Update Page Metadata

Update Page-level metadata, including SEO and Open Graph fields.

Note: When updating Page Metadata in secondary locales, you may only add slug to the request if your Site has the Advanced or Enterprise Localization add-on.

Required scope | pages:write

Path parameters

page_idstringRequiredformat: "objectid"
Unique identifier for a Page

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

localeIdstringOptional
Unique identifier for a specific locale. Applicable, when using localization.

Request

This endpoint expects an object.
idstringRequiredformat: "objectid"
Unique identifier for the Page
siteIdstringOptionalformat: "objectid"
Unique identifier for the Site
titlestringOptional
Title of the Page
slugstringOptional

slug of the Page (derived from title)

parentIdstringOptionalformat: "objectid"
Identifier of the parent folder
collectionIdstringOptionalformat: "objectid"
Unique identifier for a linked Collection, value will be null if the Page is not part of a Collection.
createdOnstringOptionalformat: "date-time"
The date the Page was created
lastUpdatedstringOptionalformat: "date-time"
The date the Page was most recently updated
archivedbooleanOptionalDefaults to false
Whether the Page has been archived
draftbooleanOptionalDefaults to false
Whether the Page is a draft
canBranchbooleanOptionalDefaults to false

Indicates whether the Page supports Page Branching

isBranchbooleanOptionalDefaults to false

Indicates whether the Page is a Branch of another Page Page Branching

seoobjectOptional

SEO-related fields for the Page

openGraphobjectOptional
Open Graph fields for the Page
localeIdstringOptionalformat: "objectid"
Unique ID of the page locale
publishedPathstringOptional
Relative path of the published page URL

Response

Request was successful
idstringformat: "objectid"
Unique identifier for the Page
siteIdstring or nullformat: "objectid"
Unique identifier for the Site
titlestring or null
Title of the Page
slugstring or null

slug of the Page (derived from title)

parentIdstring or nullformat: "objectid"
Identifier of the parent folder
collectionIdstring or nullformat: "objectid"
Unique identifier for a linked Collection, value will be null if the Page is not part of a Collection.
createdOnstring or nullformat: "date-time"
The date the Page was created
lastUpdatedstring or nullformat: "date-time"
The date the Page was most recently updated
archivedboolean or nullDefaults to false
Whether the Page has been archived
draftboolean or nullDefaults to false
Whether the Page is a draft
canBranchboolean or nullDefaults to false

Indicates whether the Page supports Page Branching. Pages that are already branches cannot be branched again.

isBranchboolean or nullDefaults to false

Indicates whether the Page is a Branch of another Page Page Branching

branchIdstring or nullformat: "objectid"
If the Page is a Branch of another Page, this is the ID of the Branch
seoobject or null

SEO-related fields for the Page

openGraphobject or null
Open Graph fields for the Page
localeIdstring or nullformat: "objectid"
Unique ID of the page locale
publishedPathstring or null
Relative path of the published page URL

Errors