HOC SiteDocumentation

Save component design

Save component design (sparse content merge, contentMode replace, or ops patch)

Method: PUT · Auth: bearer · Group: design

/api/v1/{locale}/{websiteId}/components/{id}

Request

  • Content-Type: application/json
{ "content"?: object|string, "contentMode"?: "merge"|"replace", "ops"?: object[], "contentByLocale"?: object, "contentLocale"?: "string", "response"?: "full"|"slim", "label"?: "string" }

Schema

{
  "method": "PUT",
  "path": "/api/v1/{locale}/{websiteId}/components/{id}",
  "contentType": "application/json",
  "bodyHint": "{ \"content\"?: object|string, \"contentMode\"?: \"merge\"|\"replace\", \"ops\"?: object[], \"contentByLocale\"?: object, \"contentLocale\"?: \"string\", \"response\"?: \"full\"|\"slim\", \"label\"?: \"string\" }"
}

MCP tools