Xsolla-logo

Authentifizierung über Benutzername/E-Mail-Adresse dem Konto hinzufügenClient-side

post/users/me/link_email_password

Erweitert das bestehende Benutzerkonto um die Authentifizierung über Benutzername/E-Mail-Adresse und Passwort. Dieser Aufruf wird verwendet, wenn das Konto über eine Geräte-ID oder Telefonnummer erstellt wurde.

SecurityBearer
Request
query Parameters
login_url
string

URL to redirect the user to after account confirmation, successful authentication, two-factor authentication configuration, or password reset confirmation. Must be identical to the Callback URL specified in the URL block of Publisher Account. For the scenario of a login error, the value should be identical to the the Error callback URL specified in the URL block of Publisher Account. To find the settings, go to Login > your Login project and select the Callback URLs section in the upper block. Required if there are several Callback URLs.

Request Body schema: application/json
username
required
string [ 1 .. 255 ] characters

Benutzername.

password
required
string [ 6 .. 100 ] characters

Benutzerpasswort.

email
required
string <email> [ 1 .. 255 ] characters

E-Mail-Adresse des Benutzers.

promo_email_agreement
integer >= 0
Default: 1

Einwilligung des Benutzers zum Erhalt des Newsletters.

Enum: 0 1
Responses
200

OK

400

Bad Request

401

Unauthorized

422

Unprocessable Entity

429

Too Many Requests

Request samples
application/json
{
  • "email": "john-email@email.com",
  • "password": "password123",
  • "username": "John"
}
Response samples
application/json
{
  • "email_confirmation_required": true
}