Xsolla-logo

Delete user phone numberClient-side

delete/users/me/phone/{phoneNumber}

Deletes the phone number of the authenticated user by JWT.

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

SecurityBearer
Request
path Parameters
phoneNumber
required
string^(\+){0,1}(\d){5,25}$

User phone number according to national conventions.

Responses
204

No Content

400

Bad Request

401

Forbidden

404

Not Found

Request samples
curl --request DELETE \
  --url https://login.xsolla.com/api/users/me/phone/{phoneNumber} \
  --header 'Authorization: Bearer BEARER_TOKEN'
Response samples
application/json
{
  • "error": {
    }
}