Xsolla-logo

Update user phone number

post/users/me/phone

Updates the phone number of the authenticated user by JWT.

The phone number in this call is used only for passing the two-factor authentication.

Request
Security:
Request Body schema: application/json
phone_number
required
string [ 5 .. 25 ] characters

Updated user phone number according to national conventions.

Responses
204

No Content

400

Bad Request

403

Forbidden

404

Not Found

422

(Unprocessable Entity) Semantic errors in the request

Request samples
application/json
{
  • "phone_number": "+79091091076"
}
Response samples
application/json
{
  • "error": {
    }
}