Rivier/ Reference/ hosting

Hosting site page update

patch/hosting/sites/{id}/pages/{page}

Change a page's title, path (a page that was published leaves a 301 from the old path; a translation may take its own path), search settings or language group (not its blocks: use patch).

Before you call

Credential
Authorization: Bearer $KEY
Scope
hosting:write
Graphql
Mutation.hostingSitePageUpdate
Sdk
hosting.sitePage.update
Cli
hosting site page update

Parameters

  • idstring (uuid)required
    In the path
  • pagestring (uuid)required
    In the path

Request bodyapplication/json, required

  • pathstring
    At most 120 characters.
  • accessobject
    • rulestringrequired
      One of: public, signed_in, tier, staff.
    • tierIdslist of string
    • roleslist of string
  • titlestring
    At most 200 characters.
  • groupstring or null
  • seoobject

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown