Appearance
Rule.io SDK / client/src / UpdateEmailTemplatePayload
Interface: UpdateEmailTemplatePayload
Defined in: client/src/resources/templates/templates.types.ts:178
Payload for TemplatesClient.updateEmailTemplate.
All fields are optional — only the fields you include are changed.
Example
typescript
await client.templates.updateEmailTemplate(templateId, {
name: 'Welcome email — v2',
content: updatedRcmlDocument,
});Properties
content?
optionalcontent?:RcmlDocument
Defined in: client/src/resources/templates/templates.types.ts:182
New RCML document body.
name?
optionalname?:string
Defined in: client/src/resources/templates/templates.types.ts:180
New name for the template.