Weight & Measurements

Edit an existing weight entry

patch/api/weight/{id}

Request

  • Base URL
    https://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
  • URL
    https://api.rewritelifestyle.ai/api/weight/{id}
  • Auth
    HTTP bearer

Path parameters

idnumber required

Headers

x-timezonestring required

Request body

weightnumber
datestring

Example request

{
  "weight": 186,
  "date": "2025-01-15"
}

Response

unknown required

Example response

{
  "success": true,
  "data": {
    "id": 42,
    "user_id": 5,
    "weight": "186.0",
    "recorded_at": "2026-02-20T08:00:00.000Z",
    "created_at": "2026-02-19T08:00:00.000Z"
  }
}

Changes

No recorded changes to this operation across all 34 revisions of this API.