Two-Factor Method Removed Message Template
On this page
This feature requires an Enterprise plan.
FusionAuth sends this message when a user removes a two-factor method. Assign the template in Two-factor method removed on the Tenants -> Your Tenant -> Identities tab. To override the template for one Application, set the template on the Applications -> Your Application -> Identities tab.
Default Template#
FusionAuth ships the following default template:
The following two factor method was removed from ${user.phoneNumber}:
- Method: ${method.method}
- Identifier: ${method.id}
- FusionAuth Admin
Replacement Variables#
applicationThe Application object. For field definitions, see the Application API.
The variable is present only when the request that sends the message identifies an Application. Check for the variable before you use it:
[#if application??]
${application.name}
[/#if]
baseUrlThe base URL for links in the message. FusionAuth uses the Application baseURL, then the Tenant baseURL, then http://localhost:9011.
eventThe User Two-Factor Method Remove event. For field definitions, see the User Two-Factor Method Remove event reference.
methodThe two-factor method that was removed. For field definitions, see user.twoFactor.methods in the User API.
phoneNumberThe phone number FusionAuth sends the message to. The Generic messenger request has the same value in phoneNumber.
tenantThe Tenant object. For field definitions, see the Tenant API.
userThe User object for the recipient. For field definitions, see the User API.
Related
Learn when FusionAuth sends the email that tells a user a two-factor method was removed, and which variables the template receives.
Learn when FusionAuth sends the message that tells a user an administrator removed a two-factor method, and which variables the template receives.
Learn when FusionAuth sends the message that tells a user a two-factor method was added, and which variables the template receives.
Learn when FusionAuth sends the email that tells a user an administrator removed a two-factor method, and which variables the template receives.