mirror of
https://github.com/GAM-team/GAM.git
synced 2025-05-11 11:47:21 +00:00
1.7 KiB
1.7 KiB
Users - Backup Verification Codes
API documentation
Definitions
Manage backup verification codes
gam <UserTypeEntity> update backupcodes|verificationcodes
gam <UserTypeEntity> delete|del backupcodes|verificationcodes
You will get the following error message for any user that is suspended:
User: user@domain.com, Backup Verification Codes Not Updated: User is suspended. You must unsuspend to process backupcodes
User: user@domain.com, Backup Verification Codes Not Deleted: User is suspended. You must unsuspend to process backupcodes
Display backup verification codes
gam <UserTypeEntity> show backupcodes|backupcode|verificationcodes
Gam displays the information as an indented list of keys and values.
Exit Status of 0 indicates no errors, and backup codes are sent to stdout.
Exit status of 60 indicates no errors, and that no backup codes are available for this user.
gam <UserTypeEntity> print backupcodes|verificationcodes [todrive <ToDriveAttributes>*]
[delimiter <Character>] [countsonly]
GAM displays the information in CSV form.
delimiter <Character>
- SeparateverificationCodes
entries with<Character>
; the default value iscsv_output_field_delimiter
fromgam.cfg
.countsonly
- Display only the number of available backup codes but not the codes themselves.