Updates the profile of the currently authenticated user. Supported fields: username, bio.
username
bio
cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
New username
New bio, pass empty string to clear
Updated user profile
The username of the user
A short bio of the user