v1

latestOpenAPI 3.0.12026-08-0435481.5 MB
Email templates

Update email template details

Update the details of an email template by its ID.

patch/api/email-templates/{id}/details

Path parameters

idstring required

The unique identifier of the email template.

Request body

subjectstring

The template of the email subject.

contentstring

The template of the email body.

replyTostring

The reply name template of the email. If not provided, the target email address will be used. (The render logic may differ based on the email provider.)

sendFromstring

The send from name template of the email. If not provided, the default Logto email address will be used. (The render logic may differ based on the email provider.)

Response

The updated email template.

tenantIdstring required
idstring required
languageTagstring required
templateType'SignIn' | 'Register' | 'ForgotPassword' | 'OrganizationInvitation' | 'Generic' | 'UserPermissionValidation' | 'BindNewIdentifier' | 'MfaVerification' | 'BindMfa' required
createdAtnumber required