Loki Docs
Tools › Weight and water › Delete a weigh-in

Delete a weigh-in

delete_weightChanges
What it does
Changes or deletes something you had. Your assistant can ask you to confirm first. Safe to retry: the same call twice changes nothing more.
Permission
Weight and water, change body:write

What your assistant is told

Delete a single weigh-in by its id — use it to remove a spurious entry (a typo, a unit mix-up, or a number the user says wasn't theirs). Get the id from get_weights. Not reversible; deletes exactly the one entry, so re-log with log_weight if you remove the wrong one. It can only delete a weigh-in get_weights would show you: an id you were never given is weight_not_found.

Parameters

  • weight_idid, requiredId of the weigh-in to delete (from get_weights).