v1

latestOpenAPI 3.0.32026-07-26172157253.6 KB
Admin

Update email template

Update a specific email template by type (admin only)

put/api/auth/email-templates/{type}

Path parameters

type'email-verification-code' | 'email-verification-link' | 'reset-password-code' | 'reset-password-link' required

Template type to update

Request body

subjectstring required

Email subject line

bodyHtmlstring required

HTML body of the email template

Response

Template updated

idstring uuid
templateType'email-verification-code' | 'email-verification-link' | 'reset-password-code' | 'reset-password-link'
subjectstring
bodyHtmlstring
createdAtstring date-time
updatedAtstring date-time