cURL
curl --request POST \ --url https://jamquest-dev.techboo.net/api/v1/user/update-username \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "username": "DJ Cool" } '
{ "status": "ok", "message": "<string>" }
Allows a user to update their username
Access token obtained during login or registration. Use this token in the Authorization header for authenticated requests.
"DJ Cool"
Username updated successfully
"ok"