Skip to main content
POST
Update a component
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.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

componentId
string
required

The ID of the component.

Body

application/json

At least one of name or lmx must be provided.

name
string
lmx
string

The component body as an LMX string.

Response

Successful.

id
string
required

The ID of the component.

name
string
required

The name of the component.

lmx
string
required

The component body serialized as LMX.

affectedEmailCount
number
required

The number of emails using this component that were updated by the body change. 0 when only the name changed.

Last modified on July 20, 2026