Email templates

Delete email templates

Bulk delete email templates by their language tag and template type.

delete/api/email-templates

Request

  • Base URL: https://[tenant_id].logto.app
  • URL: https://[tenant_id].logto.app/api/email-templates
  • Auth: OAuth 2 (client credentials, token URL /oidc/token, scopes: all)

Query parameters

languageTagstring

The language tag of the email template, e.g., en or fr.

templateType'SignIn' | 'Register' | 'ForgotPassword' | 'OrganizationInvitation' | 'Generic' | 'UserPermissionValidation' | 'BindNewIdentifier' | 'MfaVerification' | 'BindMfa'

The type of the email template, e.g. SignIn or ForgotPassword

Response

The email templates were deleted successfully.

rowCountnumber required

The number of email templates deleted.

Changes

No recorded changes to this operation across all 8 revisions of this API.