cURL
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.
Enter your API key as a Bearer token. Example: 'Bearer YOUR_API_KEY'
Profile updated successfully
The response is of type object.
object