User

Update different account data ๐Ÿ”‘

Update different account data.

patch/api/v1/user/update-account

Request body

firstNamestring nullable
lastNamestring nullable
usernamestring nullable
oldPasswordstring nullable
newPasswordstring nullable
emailstring email nullable
biostring nullable
contactViberstring nullable
contactEmailstring nullable
contactTelegramNicknamestring nullable
contactTelegramPhonestring nullable
contactWhatsappstring nullable
contactFacebookstring nullable
contactDiscordstring nullable

Example request

{
  "bio": "I am a software engineer",
  "contact_discord": "<EMAIL>",
  "contact_email": "<EMAIL>",
  "contact_facebook": "<EMAIL>",
  "contact_telegram_nickname": "<EMAIL>",
  "contact_telegram_phone": "<EMAIL>",
  "contact_viber": "<EMAIL>",
  "contact_whatsapp": "<EMAIL>",
  "email": "oleg_vinnyk@gmail.com",
  "firstName": "Oleg",
  "lastName": "Vinnyk",
  "newPassword": "newPassword123",
  "oldPassword": "oldPassword123",
  "username": "olegVinnyk"
}

Response

Request completed successfully.

detailstring

Changes