HOC SiteDocumentation

Update layout breakpoints

Update layout breakpoints, content width, and headerNavCompactUpToBreakpointId. Extra breakpoint keys are kept. Omitting the compact field leaves the stored value. dryRun returns before/after without saving.

Method: PUT · Auth: bearer · Group: theme

/api/v1/{locale}/{websiteId}/layout

Request

  • Content-Type: application/json
{ "maxContentWidthPx": 1200, "breakpoints": [], "headerNavCompactUpToBreakpointId"?: "string", "dryRun"?: boolean }

Schema

{
  "method": "PUT",
  "path": "/api/v1/{locale}/{websiteId}/layout",
  "contentType": "application/json",
  "bodyHint": "{ \"maxContentWidthPx\": 1200, \"breakpoints\": [], \"headerNavCompactUpToBreakpointId\"?: \"string\", \"dryRun\"?: boolean }"
}

MCP tools