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.
Path parameters
Section titled “Path parameters”| Parameter | Type | Description |
|---|---|---|
id | string | Required. The food's id. |
Response
Section titled “Response”204 with no body, or 404 with food_not_found when it doesn’t exist or isn’t yours.
Example
Section titled “Example”curl -X DELETE https://app.splot.health/v1/foods/9d2e7c1a-4b6f-4e8d-a3c5-1f7b9e2d4a60 \ -H "Authorization: Bearer $SPLOT_API_KEY"Use this page
Last updated