HOC SiteDocumentation

Update localized paths

Update localized paths. An empty string is the homepage. Redirects are written only when createRedirects is true.

Method: PATCH · Auth: bearer · Group: design

/api/v1/{locale}/{websiteId}/pages/{pageId}/paths

Request

  • Content-Type: application/json
{ "pathsByLocale": { "en-US": "catalogue/[category.slug]/[slug]" }, "createRedirects"?: boolean, "dryRun"?: boolean, "slugParamName"?: "slug", "objectTypeId"?: "uuid" }

Schema

{
  "method": "PATCH",
  "path": "/api/v1/{locale}/{websiteId}/pages/{pageId}/paths",
  "contentType": "application/json",
  "bodyHint": "{ \"pathsByLocale\": { \"en-US\": \"catalogue/[category.slug]/[slug]\" }, \"createRedirects\"?: boolean, \"dryRun\"?: boolean, \"slugParamName\"?: \"slug\", \"objectTypeId\"?: \"uuid\" }"
}

MCP tools