POST
/
user
/
update
curl --request POST \
  --url https://ragapi.sno.ai/v1/user/update \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "<string>",
  "lastName": "<string>",
  "profilePictureUrl": "<string>",
  "hasOnboarded": true
}'
{
  "success": true
}

Updates the profile information for the currently authenticated user. Allowable fields include first name, last name, profile picture URL, and onboarding status.

Authorizations

Authorization
string
header
required

Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'

Body

application/json

Response

200
application/json

Profile updated successfully

The response is of type object.