Skip to main content
The user:disable-two-factor command allows administrators to disable two-factor authentication (2FA) for users who have lost access to their authenticator app or recovery codes.
This command should only be used in exceptional circumstances. All usage is logged for security auditing purposes.

Command Signature

Usage Examples

Running in Docker

Use -it flags for interactive commands (without --force) to allow the confirmation prompt.

Security Notes

  • All operations are logged to the Slack admin channel with user ID, email, reason, and admin override status
  • Admin users require --allow-admin flag and cannot bypass confirmation with --force
  • Users who can access their authenticator should disable 2FA through their account settings instead