Loki Docs
Tools › Body measurements › Delete a body measurement

Delete a body measurement

delete_body_measurementChanges
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
Body measurements, change measurements:write

What your assistant is told

Delete the calling user's body measurement by its UUID. Idempotent: returns deleted: false if the entry did not exist. It also returns deleted: false for an entry you are not allowed to see — a weigh-in imported from the user's scale or watch while the assistant switch for imported data is off — so false means "nothing you may delete", never "nothing exists". Delete only ids you got from list_body_measurements.

Parameters

  • idid, requiredMeasurement UUID from list_body_measurements.
  • clientHandletext, optionalOptional client_handle from list_clients to run this tool against a coached client's data instead of your own. Omit (or pass null) for your own data — the legacy default.