TwoFactorAuth
Two-Factor Settings
Return team user 2FA config
This function retrieves a team user's configuration settings for two-factor authentication.
get/TwoFactorAuth/get_team_user_configuration
Query parameters
team_userstring required
Example:user@example.com
The team user's username.
Note:
The username will always precede the cPanel account's primary domain.
Response
HTTP Request was successful.
Example response
{
"apiversion": 3,
"func": "get_team_user_configuration",
"module": "TwoFactorAuth",
"result": {
"data": {
"is_enabled": 1,
"issuer": "Example WebPros International, LLC"
},
"status": 1
}
}