Pages

Update a Page

patch/api/pages/{id}

Request

  • Base URL: https://hellosafe.com
  • URL: https://hellosafe.com/api/pages/{id}
  • Auth: OAuth 2 (password, token URL /api//openapi-auth)

Request body

titlestring nullable
publishedAtstring nullable

PayloadCMS versioning timestamp — NOT the publication date. A page is published when Visibility = Public; the date it happened is Roadmap → Planned for.

visibility'public' | 'hidden' nullable

THE publication switch for this locale. Public = live for the public. Flipping it to Public stamps Roadmap → Planned for (the publication log) if that date is empty.

layoutDesign'default' | 'travel-premium' | 'visa' | 'press' nullable

Layout of THIS locale. Locales never set inherit the default locale’s layout.

profile'tourist' | 'senior' | 'family' | 'pregnant-lady' | 'cfar' | 'cancellation' | 'extreme-sports' | 'medical' | 'preExisting' | 'preExisting-senior' | 'repatriation' | 'baggage' | 'digital-nomad' | 'student' | 'backpacker' | 'cruise' | 'annual' | 'ski' | 'expat' | 'business' | 'group' | 'whv' | 'au-pair' | 'humanitarian' | 'schengen-visa' | 'rental-stay' | 'to-us' | 'to-th' | 'to-id' | 'to-vn' | 'to-au' | 'to-nz' | 'to-mx' | 'to-br' | 'to-ar' | 'to-cr' | 'to-in' | 'to-kr' | 'to-ae' | 'to-eg' | 'to-tr' | 'to-tn' | 'to-il' | 'to-cu' | 'to-ru' | 'to-tz' | 'to-jp' | 'to-ca' | 'to-dz' | 'to-ma' | 'to-cn' | 'to-gb' | 'to-ch' | 'to-do' | 'to-mv' | 'to-hr' nullable

Overrides hero chips + sidebar CTA wording with the profile copy (Travel Premium layout only).

slugstring
noIndexboolean nullable
categoriesstring

ID of the categories

videoSchemaObjectsstring nullable
customBreadcrumbLabelstring nullable

Breadcrumb label (per locale). Keep it SHORT and SIMPLE: the page's own subject only — never the H1, never words the parent crumb already says. Examples under "Travel Insurance": "Croatia", "Cancellation", "Students", "Cap Explorer". Max 3 words / 30 characters, no year, no price. Empty = the full title renders in the trail (too long).

menuLabelstring nullable

Name in the site burger menu (per locale). Leave empty: the menu then derives a short name from the breadcrumb label. Fill it only to rename the menu line without touching the breadcrumb ("Reiserücktritt" for "Reiserücktrittsversicherung"). Max 3 words, no year, no price.

parentstring

ID of the pages

inUsedReusableBlocksstring

ID of the reusable-blocks

inUsedMediasstring

ID of the media

inUsedExternalLinksstring

ID of the external-links

deletedAtstring nullable
_status'draft' | 'published' nullable

Response

Page object

idstring required
titlestring nullable
publishedAtstring nullable

PayloadCMS versioning timestamp — NOT the publication date. A page is published when Visibility = Public; the date it happened is Roadmap → Planned for.

visibility'public' | 'hidden' nullable

THE publication switch for this locale. Public = live for the public. Flipping it to Public stamps Roadmap → Planned for (the publication log) if that date is empty.

layoutDesign'default' | 'travel-premium' | 'visa' | 'press' nullable

Layout of THIS locale. Locales never set inherit the default locale’s layout.

profile'tourist' | 'senior' | 'family' | 'pregnant-lady' | 'cfar' | 'cancellation' | 'extreme-sports' | 'medical' | 'preExisting' | 'preExisting-senior' | 'repatriation' | 'baggage' | 'digital-nomad' | 'student' | 'backpacker' | 'cruise' | 'annual' | 'ski' | 'expat' | 'business' | 'group' | 'whv' | 'au-pair' | 'humanitarian' | 'schengen-visa' | 'rental-stay' | 'to-us' | 'to-th' | 'to-id' | 'to-vn' | 'to-au' | 'to-nz' | 'to-mx' | 'to-br' | 'to-ar' | 'to-cr' | 'to-in' | 'to-kr' | 'to-ae' | 'to-eg' | 'to-tr' | 'to-tn' | 'to-il' | 'to-cu' | 'to-ru' | 'to-tz' | 'to-jp' | 'to-ca' | 'to-dz' | 'to-ma' | 'to-cn' | 'to-gb' | 'to-ch' | 'to-do' | 'to-mv' | 'to-hr' nullable

Overrides hero chips + sidebar CTA wording with the profile copy (Travel Premium layout only).

slugstring required
noIndexboolean nullable
videoSchemaObjectsstring nullable
customBreadcrumbLabelstring nullable

Breadcrumb label (per locale). Keep it SHORT and SIMPLE: the page's own subject only — never the H1, never words the parent crumb already says. Examples under "Travel Insurance": "Croatia", "Cancellation", "Students", "Cap Explorer". Max 3 words / 30 characters, no year, no price. Empty = the full title renders in the trail (too long).

menuLabelstring nullable

Name in the site burger menu (per locale). Leave empty: the menu then derives a short name from the breadcrumb label. Fill it only to rename the menu line without touching the breadcrumb ("Reiserücktritt" for "Reiserücktrittsversicherung"). Max 3 words, no year, no price.

updatedAtstring required
createdAtstring required
deletedAtstring nullable
_status'draft' | 'published' nullable

Changes

No recorded changes to this operation across all 1 revision of this API.