Skip to content

Delete a food

Removes a food from your foods. Past meals and recipes keep it.

DELETEhttps://app.splot.health/v1/foods/:id

Needs the Read and write permission. Only foods in your mine library can be deleted. Meals and recipes that use the food keep the version they were saved with, so nothing you logged changes.

ParameterTypeDescription
idstringRequired. The food's id.

204 with no body, or 404 with food_not_found when it doesn’t exist or isn’t yours.

Terminal window
curl -X DELETE https://app.splot.health/v1/foods/9d2e7c1a-4b6f-4e8d-a3c5-1f7b9e2d4a60 \
-H "Authorization: Bearer $SPLOT_API_KEY"

Last updated