Delete diary item
Remove one entry from a day in the diary.
DELETE https://cotlet.dev/api/v1/fitatu/items/{item_id}/diary-items
write Confirm
Removes a single product or meal entry, the same as tapping the X on its card. The entry is gone from that day, and logging it again is a new call. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| item_id string required | string | Diary entry ID from get_diary. |
Request
curl -X DELETE https://cotlet.dev/api/v1/fitatu/items/item_8c41d2/diary-items \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("fitatu", "delete_diary_item", {"item_id":"item_8c41d2"}) const result = await cotlet.call('fitatu', 'delete_diary_item', {"item_id":"item_8c41d2"}); cotlet call fitatu delete_diary_item --data '{"item_id":"item_8c41d2"}' Example response
{
"item_id": "it_5c21",
"status": "deleted"
}