Xsolla-logo

Update project two-factor authentication settingsServer-side

put/projects/{project_id}/mfa

Updates project two-factor authentication settings. The user must confirm the changes by entering a one-time code.

SecurityServer
Request
path Parameters
project_id
required
string <uuid>

Login project ID from Publisher Account.

Request Body schema: application/json
required
Array of objects
Array
mfa_type
required
string

Type of MFA: SMS or Email.

Enum: "sms" "email"
priority
required
integer [ 1 .. 2 ]

Priority of MFA type "1" for higher and "2" for lower.

mfa_url
string

URL to redirect user for MFA flow.

Responses
204

OK

401

Unauthorized

404

Not Found

422

Unprocessable Entity

Request samples
application/json
{
  • "mfa_types": [
    ],
  • "mfa_url": "string"
}
Response samples
{
  • "error": {
    }
}