Skip to main content
PATCH
/
user
/
profile
Update Profile
curl --request PATCH \
  --url https://api.qwix.chat/api/v1/user/profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "username": "<string>",
  "bio": "<string>"
}
'
{
  "username": "<string>",
  "bio": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
username
string

New username

bio
string | null

New bio, pass empty string to clear

Response

Updated user profile

username
string

The username of the user

bio
string | null

A short bio of the user