Skip to content
Docs menu

Back to all methods

deleteWeighIns

destructive

Deletes the weigh-ins recorded on one date and returns how many went. IRREVERSIBLE. No HTTP path of its own: calls `getDailyWeighIns`, then loops `deleteWeighIn` per entry; returns `null` (deletes nothing) if there are zero entries, or more than one entry and `deleteAll` is not `true`; otherwise deletes every entry that day and returns the count.

deleteWeighIns(cdate, deleteAll?)
ParameterTypeOptionalDescription
cdatestringnoCalendar date, YYYY-MM-DD (UTC)
deleteAllbooleanyes

In Claude this is the delete_weigh_ins tool.

Guide: body-composition-weight