Update current user profile

Update user profile fields for the currently authenticated user. Preferred endpoint over /user.

Authentication

AuthorizationBearer
JWT token obtained from authentication endpoints

Request

This endpoint expects an object.
firstNamestringOptional
lastNamestringOptional
namestringOptional
imagestringOptional
deviceTokenslist of stringsOptional
Device tokens for push notifications

Response

Profile updated successfully
userobject or null
sessionobject or null

Errors