Delete email templates
Bulk delete email templates by their language tag and template type.
Query parameters
-
languageTag string
The language tag of the email template, e.g.,
en
orfr
.Minimum length is
1
, maximum length is16
. -
templateType string
The type of the email template, e.g.
SignIn
orForgotPassword
Values are
SignIn
,Register
,ForgotPassword
,OrganizationInvitation
,Generic
,UserPermissionValidation
, orBindNewIdentifier
.
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
}