Delete email templates
Bulk delete email templates by their language tag and template type.
Query parameters
-
The language tag of the email template, e.g.,
enorfr.Minimum length is
1, maximum length is16. -
The type of the email template, e.g.
SignInorForgotPasswordValues are
SignIn,Register,ForgotPassword,OrganizationInvitation,Generic,UserPermissionValidation,BindNewIdentifier,MfaVerification, orBindMfa.
DELETE
/api/email-templates
curl \
--request DELETE 'https://[tenant_id].logto.app/api/email-templates' \
--header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"rowCount": 42.0
}