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>

ID de usuario. Puede encontrarlo en Cuenta del editor > your Login project > Users.

project_id
required
string <uuid>

ID del proyecto de Login procedente de Cuenta del editor.

Responses
200

ACEPTAR

401

Unauthorized (No autorizado)

403

Forbidden (Prohibido)

404

Not Found (No encontrado)

422

Unprocessable Entity (Entidad no procesable)

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"
}