CMDCommand · run as root on the server · user family
urbestack-user-second-factor-confirm
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-user-second-factor-confirm --name NAME --code DIGITS [--grant-token ID]Description
From the command's --help outputConfirms a pending second factor using the authenticator app's six-digit code supplied with --code. It prints eight single-use recovery codes, shown only once. On a server that requires a second factor for administrators, use --grant-token with the ID of the session opened at login solely for enrolment. The session must belong to the same user. Confirmation grants the session the all scope only if its scopes are still empty. The all scope excludes the export scope, which covers both export and import.Usage: urbestack-user-second-factor-confirm --name NAME --code DIGITS [--grant-token ID] Confirms a pending second factor using the authenticator app's six-digit code supplied with --code. It prints eight single-use recovery codes, shown only once. On a server that requires a second factor for administrators, use --grant-token with the ID of the session opened at login solely for enrolment. The session must belong to the same user. Confirmation grants the session the all scope only if its scopes are still empty. The all scope excludes the export scope, which covers both export and import.
Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-user-second-factor-confirm --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-user-second-factor-confirm/