Updates the currently authenticated user’s profile
cURL
curl --request PUT \ --url https://api.example.com/user \ --header 'Content-Type: application/json' \ --cookie Better-Auth%20Session= \ --data ' { "name": "<string>", "image": "<string>" } '
{ "message": "Successfully updated!" }
Successfully updated!
The message of the response
"Successfully updated!"
Was this page helpful?