v4
latestOpenAPI 3.1.02026-07-3163216290.7 KBComponents
Update a component
Update a component's name and/or body. When the lmx body changes, the update cascades to every email using this component, and affectedEmailCount reports how many were affected. A change that would introduce a dynamic variable an email using the component cannot use is rejected.
post/v1/components/{componentId}
Request body
Response
Successful.
Example response
{
"id": "clp2o4i6u8y0t5r3e1w7q9s1",
"name": "Header",
"lmx": "<Paragraph>Welcome to Acme</Paragraph>",
"affectedEmailCount": 3
}