Gets user's two-factor authentication settings.
user_id required | string <uuid> User ID. You can find it in Publisher Account > your Login project > Users. |
project_id required | string <uuid> Login project ID from Publisher Account. |
OK
Unauthorized
Forbidden
Not Found
Unprocessable Entity
curl --request GET \ --url https://login.xsolla.com/api/projects/{project_id}/users/{user_id}/mfa \ --header 'X-SERVER-AUTHORIZATION: YOUR_SERVER_TOKEN'
{- "change_restricted": true,
- "mfa_enabled": true,
- "mfa_type": "email"
}