Apache CloudStack 4.18.0.0 Root Admin API Reference
setupUserTwoFactorAuthentication
Setup the 2FA for the user.
Request parameters
Parameter Name | Description | Required |
enable | Enabled by default, provide false to disable 2FA | false |
provider | two factor authentication code | false |
userid | optional: the id of the user for which 2FA has to be disabled | false |
Response Tags
Response Name | Description |
id | the user ID |
accountid | the account ID of the user |
secretcode | secret code that needs to be registered with authenticator |
username | the user name |