Skip to main content Link Menu Expand (external link) Document Search Copy Copied

auth0 guardian factors phone set-templates

Set the phone enrollment and verification message templates.

This is a legacy endpoint. Tenants on the unified phone experience must manage phone templates from the Dashboard (Branding > Phone Templates); it is not available to Management API tokens.

Usage

auth0 guardian factors phone set-templates [flags]

Examples

  auth0 guardian factors phone set-templates \
    --enrollment-message "Your verification code is " \
    --verification-message "Your verification code is "

Flags

      --enrollment-message string     Message sent to the user when they enroll.
      --json                          Output in json format.
      --json-compact                  Output in compact json format.
      --verification-message string   Message sent to the user when they verify.

Inherited Flags

      --agent-mode      Output JSON, disable prompts and colors. Auto-enabled for AI agents; set AUTH0_AGENT_MODE=false to disable.
      --debug           Enable debug mode.
      --no-color        Disable colors.
      --no-input        Disable interactivity.
      --tenant string   Specific tenant to use.