Update personal information
Access: Bearer token required.
Partially updates the user's name, email, phone, bio, business name and gender; only the fields sent are changed. A new email must not belong to another account. Changing the email takes effect immediately: it does not reset isEmailVerified and no verification email is sent. Names can be changed after KYC; the change is not re-checked against the verified identity. Fields that are unset are omitted from data.
bearerAuthAuthorizationBearer <JWT>Access token returned by sign-in. Send it as Authorization: Bearer <token>.
application/json- body
firstName?stringGiven name, 2-50 characters.
2 <= length <= 50lastName?stringFamily name, 2-50 characters.
2 <= length <= 50email?stringNew email address (lower-cased and trimmed). Must not be used by another account.
emailphone?stringPhone number. Digits, +, -, spaces and parentheses only.
^[\d+\-\s()]+$bio?stringShort biography, up to 500 characters.
length <= 500businessName?stringBusiness or agency name, up to 100 characters.
length <= 100gender?stringOne of MALE, FEMALE, OTHER, PREFER_NOT_TO_SAY.
"MALE""FEMALE""OTHER""PREFER_NOT_TO_SAY"Personal information updated
application/json- response
status*integersuccess*booleanmessage*stringdata*curl -X PUT 'http://localhost:4000/api/v1/user/personal-info' \ -H 'Content-Type: application/json' \ -d '{ "firstName": "Adaeze", "lastName": "Okonkwo", "phone": "+2348031234567", "bio": "Lekki and Ikoyi rentals specialist with eight years of experience.", "businessName": "Okonkwo Realty", "gender": "FEMALE"}'{ "status": 200, "success": true, "message": "Personal information updated successfully.", "data": { "id": "665f1c2e9b1d4a0012ab34cd", "firstName": "Adaeze", "lastName": "Okonkwo", "email": "adaeze.okonkwo@example.com", "phone": "+2348031234567", "bio": "Lekki and Ikoyi rentals specialist with eight years of experience.", "businessName": "Okonkwo Realty", "gender": "FEMALE" }}
HomeLink Hub