User

Update authenticated user profile

Update the profile information for the currently authenticated user (limited fields)

put/api/user/profile

Request body

namestring

User's display name

imageUrlstring

URL to user's profile image

metadataobject

User's metadata

Example request

{
  "name": "John Doe",
  "imageUrl": "https://example.com/avatar.jpg",
  "metadata": {
    "foo": "bar"
  }
}

Response

Profile updated successfully

successboolean

Example response

{
  "success": true,
  "user": {
    "isSubscribed": true
  }
}

Changes