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

Parameters: delete_diary_item
NameTypeDescription
item_id string required string Diary entry ID from get_diary.

Request

cURL
curl -X DELETE https://cotlet.dev/api/v1/fitatu/items/item_8c41d2/diary-items \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("fitatu", "delete_diary_item", {"item_id":"item_8c41d2"})
Node.js
const result = await cotlet.call('fitatu', 'delete_diary_item', {"item_id":"item_8c41d2"});
CLI
cotlet call fitatu delete_diary_item --data '{"item_id":"item_8c41d2"}'

Example response

JSON

{
  "item_id": "it_5c21",
  "status": "deleted"
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.