Users

List sudo multi-factor authentication methods

Retrieve all available MFA methods for sudo mode verification (TOTP, WebAuthn). Requires authentication.

get/users/@me/sudo/mfa-methods

Response

Success

totpboolean required

Whether TOTP is enabled

webauthnboolean required

Whether the account has at least one registered WebAuthn credential

backup_codesboolean required

Whether the account has at least one unconsumed backup code

has_mfaboolean required

Whether the account can satisfy a sudo mode challenge

Changes