cURL
curl --request PATCH \ --url https://api.example.com/users/{id} \ --header 'Content-Type: application/json' \ --data ' { "username": "<string>", "confirmAvatar": true, "removeAvatar": true } '
{ "id": "<string>", "username": "<string>", "avatarUrl": "<string>", "identities": [ { "provider": "<string>", "providerAccountId": "<string>", "proxyWallet": "<string>" } ] }
Updates the current user’s profile. Users can only update their own profile.
Body
3 - 30
^[a-zA-Z0-9_]+$
true
200
Show child attributes