Skip to main content
PATCH
/
api
/
v1
/
auth
/
update-profile
Update User
curl --request PATCH \
  --url https://api.example.com/api/v1/auth/update-profile \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "FirstName": "<string>",
  "LastName": "<string>",
  "PhoneNumber": "<string>",
  "ProfilePicture": "<string>",
  "ReferralSource": "<string>"
}
'
{
  "data": {},
  "success": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
FirstName
string | null
LastName
string | null
PhoneNumber
string | null
ProfilePicture
string | null
ReferralSource
string | null

Response

Successful Response

success
boolean
required
data
unknown