# auth.generate_onetime_password

Generate a password for the specified username that may be used only a single time to authenticate to TrueNAS. This may be used by server administrators to allow users authenticate and then set a proper password and two-factor authentication token.

Type: object

##

Type: array
No Additional Items

#### Tuple Validation

##### Parameter 1: generate_single_use_password

#### generate_single_use_password

Type: object

AuthGenerateOnetimePasswordArgs parameters.

No Additional Properties

##

#### Username

Type: string

##

#### Result

Type: string

Required roles: ACCOUNT_WRITE