Skip to main content
PUT
/
user
Update user profile
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!"
}

Authorizations

Better-Auth Session
string
cookie
required

Body

application/json
name
string
image
string

Response

Successfully updated!

message
string

The message of the response

Example:

"Successfully updated!"