# Two-Factor Settings

Authentication / Two-Factor Settings

## Create 2FA authentication code

 - [GET /TwoFactorAuth/generate_user_configuration](https://api.docs.cpanel.net/specifications/cpanel.openapi/two-factor-settings/generate_user_configuration.md): This function generates an authentication code to enable configuration of two-factor authentication.

## Return team user 2FA config

 - [GET /TwoFactorAuth/get_team_user_configuration](https://api.docs.cpanel.net/specifications/cpanel.openapi/two-factor-settings/get_team_user_configuration.md): This function retrieves a team user's configuration settings for two-factor authentication.

## Return cPanel account 2FA config

 - [GET /TwoFactorAuth/get_user_configuration](https://api.docs.cpanel.net/specifications/cpanel.openapi/two-factor-settings/get_user_configuration.md): This function retrieves the cPanel account user's configuration settings for two-factor authentication.

## Remove 2FA config

 - [GET /TwoFactorAuth/remove_user_configuration](https://api.docs.cpanel.net/specifications/cpanel.openapi/two-factor-settings/remove_user_configuration.md): This function removes the user from the two-factor authentication userdata file.

## Save 2FA config

 - [GET /TwoFactorAuth/set_user_configuration](https://api.docs.cpanel.net/specifications/cpanel.openapi/two-factor-settings/set_user_configuration.md): This function configures the two-factor authentication settings for an account.

