Skip to main content
POST
/
api
/
run
/
users
/
mutations
/
updateUserProfile
updateUserProfile
curl --request POST \
  --url https://connvo-dev.convex.cloud/api/run/users/mutations/updateUserProfile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "args": {
    "userId": "user_9f3c2ab457",
    "displayName": "Updated Name",
    "bio": "Software engineer passionate about building great products.",
    "goals": "Connect with other engineers and learn about new technologies",
    "languages": [
      "English",
      "Spanish"
    ],
    "experience": "5 years in software development"
  }
}'
{
  "status": "success",
  "errorMessage": "",
  "errorData": {},
  "value": "profiles_d4c1e87a90"
}

Authorizations

Authorization
string
header
required

Standard user authentication token issued via WorkOS. Provide as Authorization: Bearer <user-token>.

Body

application/json
args
object
required

Response

Convex executed your request and returned a result

status
enum<string>
required
Available options:
success,
error
errorMessage
string
errorData
object
value
string

ID from table "profiles"