delete_weigh_ins
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. IRREVERSIBLE: confirm with the user before calling.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cdate | Yes | Calendar date, YYYY-MM-DD (UTC) | |
| deleteAll | No |