Users
Update user profile
patch/api/users/profile
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/users/profile
- AuthHTTP bearer
Request body
Example request
{
"firstName": "Jane",
"lastName": "Doe",
"email": "user@example.com",
"phone": "+15551234567",
"city": "Miami",
"state": "FL",
"country": "US",
"postalCode": "33101",
"unitSystem": "metric",
"coachDataConsent": true
}Response
unknown required
Example response
{
"success": true,
"message": "Profile updated successfully",
"profile": {
"user_id": 5,
"surgery_type": "gastric_sleeve",
"goal_weight": "150.0"
}
}Changes
No recorded changes to this operation across all 34 revisions of this API.