Skip to main content
PATCH
Update Email Component

Update Email Component

You can rename a component, change its description or type, or replace its blocks. Omitted fields are preserved. Replacing blocks bumps the component version. Emails that already cloned the component keep the copy they were built with; the new version applies to emails built afterwards.
Editing the component pinned as the default footer keeps its unsubscribe link enabled, the same as writing it through the defaults route.

Request

string
required
Email component ID.
string
New component name, unique within the company.
string
New description. Send an empty string to clear it.
array
Replacement blocks. Replaces the whole block list and must contain at least one block.
string
section or footer.

Responses