Admin
Update macro goals for a user (admin override)
post/api/admin/update-macro-goals
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/admin/update-macro-goals
- AuthHTTP bearer
Request body
Example request
{
"userId": 5,
"calories": 1500,
"protein": 100,
"carbs": 150,
"fat": 50,
"fiber": 25,
"reason": "Post-surgery stage 3 adjustment"
}Response
unknown required
Example response
{
"success": true,
"message": "Macro goals updated"
}Changes
No recorded changes to this operation across all 34 revisions of this API.