Admin Two-Factor Method Removed Message Template

On this page

FusionAuth sends this message when an administrator removes one of a user's two-factor methods in the Admin UI. FusionAuth sends the message only to a verified phone number. Assign the template in Admin two-factor method removal on the Tenants -> Your Tenant -> Identities tab.

Default Template#

FusionAuth ships the following default template:

Your ${(method.method == "sms")?then("SMS", method.method)} two-factor authentication method[#if method.name?has_content], ${method.name},[/#if] was removed from ${user.phoneNumber} by your administrator. Contact your administrator if you have questions.

Replacement Variables#

baseUrl
  • Type: String
  • Available since 1.68.0

The base URL for links in the message. FusionAuth uses the Application baseURL, then the Tenant baseURL, then http://localhost:9011.

method
  • Type: Object
  • Available since 1.68.0

The two-factor method that was removed. For field definitions, see user.twoFactor.methods in the User API.

phoneNumber
  • Type: String
  • Available since 1.59.0

The phone number FusionAuth sends the message to. The Generic messenger request has the same value in phoneNumber.

tenant
  • Type: Tenant
  • Available since 1.68.0

The Tenant object. For field definitions, see the Tenant API.

user
  • Type: User
  • Available since 1.68.0

The User object for the recipient. For field definitions, see the User API.

The template receives no application, because the administrator acts outside any Application.