Newer Version Available

This content describes an older version of this product. View Latest

updateEmailTemplate(emailTemplateInput)

Update an existing email template with the provided metadata.

API Version

65.0

Requires Chatter

No

Signature

public static ConnectApi.GenericResponseOutputRepresentation updateEmailTemplate(ConnectApi.EmailTemplateInputRepresentation emailTemplateInput)

Parameters

emailTemplateInput
Type: ConnectApi.EmailTemplateInputRepresentation
Input representation that contains the metadata for the email template. The fileId field is not accepted in this Apex representation.

Example