Skip to content

Delete a meal

Deletes a meal and its photos.

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

Needs the Read and write permission. Deleting can’t be undone: the meal goes with its whole history, and its photos are removed.

ParameterTypeDescription
idstringRequired. The meal's id.

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

Terminal window
curl -X DELETE https://app.splot.health/v1/meals/6f1c2a8e-3b7d-4c5e-9a1f-2d8b7e4c9a10 \
-H "Authorization: Bearer $SPLOT_API_KEY"

Last updated