Xsolla-logo

Get user's two-factor authentication settingsServer-side

get/projects/{project_id}/users/{user_id}/mfa

Gets user's two-factor authentication settings.

SecurityServer
Request
path Parameters
user_id
required
string <uuid>

Benutzer-ID. Diese finden Sie im Kundenportal unter Ihr Login-Projekt > Nutzer.

project_id
required
string <uuid>

Login-Projekt-ID aus dem Kundenportal.

Responses
200

OK

401

Unauthorized

403

Forbidden

404

Not Found

422

Unprocessable Entity

Request samples
curl --request GET \
  --url https://login.xsolla.com/api/projects/{project_id}/users/{user_id}/mfa \
  --header 'X-SERVER-AUTHORIZATION: YOUR_SERVER_TOKEN'
Response samples
application/json
{
  • "change_restricted": true,
  • "mfa_enabled": true,
  • "mfa_type": "email"
}