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)requiredIn the path
- pagestring (uuid)requiredIn the path
Request bodyapplication/json, required
- pathstringAt most 120 characters.
- accessobject
- rulestringrequiredOne of: public, signed_in, tier, staff.
- tierIdslist of string
- roleslist of string
- rulestringrequired
- titlestringAt most 200 characters.
- groupstring or null
- seoobject
Responses
- 200application/jsonSuccess
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring